{"action":"created","issue":{"url":"https://api.github.com/repos/s5z/zsim/issues/41","labels_url":"https://api.github.com/repos/s5z/zsim/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/s5z/zsim/issues/41/comments","events_url":"https://api.github.com/repos/s5z/zsim/issues/41/events","html_url":"https://github.com/s5z/zsim/issues/41","id":75560015,"number":41,"title":"Huge Perf Diff with Zsim-dram model and Dramsim2 ","user":{"login":"shash24","id":12409385,"avatar_url":"https://avatars.githubusercontent.com/u/12409385?v=3","gravatar_id":"","url":"https://api.github.com/users/shash24","html_url":"https://github.com/shash24","followers_url":"https://api.github.com/users/shash24/followers","following_url":"https://api.github.com/users/shash24/following{/other_user}","gists_url":"https://api.github.com/users/shash24/gists{/gist_id}","starred_url":"https://api.github.com/users/shash24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shash24/subscriptions","organizations_url":"https://api.github.com/users/shash24/orgs","repos_url":"https://api.github.com/users/shash24/repos","events_url":"https://api.github.com/users/shash24/events{/privacy}","received_events_url":"https://api.github.com/users/shash24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-12T10:50:42Z","updated_at":"2015-06-08T07:47:25Z","closed_at":null,"body":"Hi,\r\nWhile comparing zsim-native dram model and zsim-dramsim, I've found perf (IPC ) difference and more importantly the Instruction executed reported in zsim.out has ~20% difference in 4T case.\r\n![perf-data](https://cloud.githubusercontent.com/assets/12409385/7585619/36c7fb3c-f8c2-11e4-9e30-8cfec8f579cc.png)\r\n\r\nUpdate:\r\nInstruction counts for both models are same if we make KMP_BLOCKTIME=0. Zsim-native instr value comes down. Still, its interesting that spin loops add instruciton only to native-zsim dram model, not when running with dramsim2.\r\nThe IPC difference is still huge , ~7x .\r\n\r\nUpdate 2 : Previous data was with core frequency = 4800 MHz. \r\nAt Core frequencies >= 4295MHz, Zsim is reading very low latencies ~10 , in readReturn_CB, while latencies in vis file of dramsim are reasonable. \r\n\r\nI reran with Core frequency = 2200MHz. \r\n![image](https://cloud.githubusercontent.com/assets/12409385/7629376/97613066-fa49-11e4-9636-6d51916e7178.png)\r\n\r\nThere is still a 38% diff in IPC. Is there some latency or config I am missing ?\r\n\r\nI am using \r\n        controllers = 1;\r\n        type = \"DDR\";\r\n        tech = \"DDR3-1333-CL10\";\r\n        ranksPerChannel = 1;\r\n        banksPerRank = 8;\r\n        addrMapping = \"col:bank:rank\";\r\n        controllerLatency = 1;\r\n        closedPage = false;\r\n        queueDepth = 32;\r\n        pageSize = 1024;\r\n\r\nAnd the corresponding tech.ini file with scheme2 while running DRAMSIM2 model.\r\nMachine config is 4 OOO cores , with L1D and L1i = 64KB , 1 shared L2 = 1MB , 1 shared L3 = 4MB\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/s5z/zsim/issues/comments/109894437","html_url":"https://github.com/s5z/zsim/issues/41#issuecomment-109894437","issue_url":"https://api.github.com/repos/s5z/zsim/issues/41","id":109894437,"user":{"login":"shash24","id":12409385,"avatar_url":"https://avatars.githubusercontent.com/u/12409385?v=3","gravatar_id":"","url":"https://api.github.com/users/shash24","html_url":"https://github.com/shash24","followers_url":"https://api.github.com/users/shash24/followers","following_url":"https://api.github.com/users/shash24/following{/other_user}","gists_url":"https://api.github.com/users/shash24/gists{/gist_id}","starred_url":"https://api.github.com/users/shash24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shash24/subscriptions","organizations_url":"https://api.github.com/users/shash24/orgs","repos_url":"https://api.github.com/users/shash24/repos","events_url":"https://api.github.com/users/shash24/events{/privacy}","received_events_url":"https://api.github.com/users/shash24/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T07:47:25Z","updated_at":"2015-06-08T07:47:25Z","body":"Link to all the config files : \r\nhttps://onedrive.live.com/redir?resid=cea010b48c9b313d!9751&authkey=!ACPe_8R8H7gPhVE&ithint=folder%2ctxt\r\n\r\nBuild cmd for stream is in README.txt"}}