sim.setCacheSimInterface(lruTop);
DiskSimNative diskSim = new DiskSimNative(sim,"disk_model/simple_array.parv","/tmp/simple_array.out");
sim.setDiskSim(diskSim);
FilesystemModel filesystemModel = new FilesystemModel(sim,50,4,17782768);
sim.setFilesystemModel(filesystemModel);
Trace trace;
try {
trace = new Trace("/Users/steve/os/nfs_traces/1_1b.txt");
} catch (IOException e) {
e.printStackTrace();
return;
}
trace.bulkImport(sim);
System.out.println("registered events: " + simDriver.nevents());
simDriver.run();
diskSim.endSimulation(simDriver.getCurrentTime());
lruTop.getStats().print();