Skip to content

Commit

Permalink
updated graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabaie committed Jul 31, 2023
1 parent 9751ba3 commit 7bef9f3
Show file tree
Hide file tree
Showing 6 changed files with 1,694 additions and 762 deletions.
6 changes: 0 additions & 6 deletions configs-npb-gapbs/restore_both.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,6 @@ def parse_options():
type=int,
help="bypass DRAM cache",
)
parser.add_argument(
"flushBufferSize",
type=int,
help="flush buffer size",
)
parser.add_argument("--do_analysis", action="store_true", default=False)
return parser.parse_args()

Expand Down Expand Up @@ -267,7 +262,6 @@ def run():
args.is_link,
args.link_lat,
args.bypass,
args.flushBufferSize,
args,
restore=True,
)
Expand Down
7 changes: 3 additions & 4 deletions configs-npb-gapbs/system/ruby_system_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

class MyRubySystem(System):

def __init__(self, kernel, disk, mem_sys, num_cpus, assoc, dcache_size, main_mem_size, policy, is_link, link_lat, bypass, flushBufferSize, opts, restore=False):
def __init__(self, kernel, disk, mem_sys, num_cpus, assoc, dcache_size, main_mem_size, policy, is_link, link_lat, bypass, opts, restore=False):
super(MyRubySystem, self).__init__()
print("Creating MyRubySystem")
self._opts = opts
Expand Down Expand Up @@ -72,7 +72,7 @@ def __init__(self, kernel, disk, mem_sys, num_cpus, assoc, dcache_size, main_mem
self.createCPU(num_cpus)

# self.intrctrl = IntrControl()
self._createMemoryControllers(assoc, dcache_size, policy, is_link, link_lat, bypass, flushBufferSize)
self._createMemoryControllers(assoc, dcache_size, policy, is_link, link_lat, bypass)

# Create the cache hierarchy for the system.
if mem_sys == 'MI_example':
Expand Down Expand Up @@ -165,7 +165,7 @@ def setDiskImages(self, img_path_1, img_path_2):
def _createKernelMemoryController(self, cls):
return MemCtrl(dram = cls(range = self.mem_ranges[0], kvm_map = False))

def _createMemoryControllers(self, assoc, dcache_size, policy, is_link, link_lat, bypass, flushBufferSize):
def _createMemoryControllers(self, assoc, dcache_size, policy, is_link, link_lat, bypass):
self.kernel_mem_ctrl = self._createKernelMemoryController(DDR3_1600_8x8)

self.mem_ctrl = PolicyManager(range=self.mem_ranges[2], kvm_map=False)
Expand Down Expand Up @@ -217,7 +217,6 @@ def _createMemoryControllers(self, assoc, dcache_size, policy, is_link, link_lat

self.loc_mem_ctrl.dram.read_buffer_size = 64
self.loc_mem_ctrl.dram.write_buffer_size = 64
self.loc_mem_ctrl.dram.flush_buffer_size = flushBufferSize

self.far_mem_ctrl.dram.read_buffer_size = 64
self.far_mem_ctrl.dram.write_buffer_size = 64
Expand Down
1,662 changes: 1,553 additions & 109 deletions plots_1GBdramCache/data-plots.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 7bef9f3

Please sign in to comment.