On Thu, Jun 27, 2013 at 10:03:52AM +0800, Bob Liu wrote: >Hi All, > >These days I have been testing zswap. >I found that the total ram size of my testing machine effected the >testing result. > >If I limit RAM size to 2G using "mem=", the performance of zswap is >very disappointing, >But if I use larger RAM size such as 8G, the performance is much better. >Even with RAM size 8G, zswap will slow down the speed of parallelio. > >I run the testing(mmtest-0.10 with >config-global-dhp__parallelio-memcachetest) after the default >distribution booted every time. > Hi Bob, I see improvement against v3.11-rc1 w/ 2G memory.
nozswap2 zswap2 nozswap2G zswap2G Ops memcachetest-0M 12731.00 ( 0.00%) 11561.00 ( -9.19%) Ops memcachetest-201M 11373.00 ( 0.00%) 11084.00 ( -2.54%) Ops memcachetest-672M 11350.00 ( 0.00%) 10910.00 ( -3.88%) Ops memcachetest-1142M 11057.00 ( 0.00%) 11060.00 ( 0.03%) Ops io-duration-0M 0.00 ( 0.00%) 0.00 ( 0.00%) Ops io-duration-201M 4.00 ( 0.00%) 5.00 (-25.00%) Ops io-duration-672M 9.00 ( 0.00%) 7.00 ( 22.22%) Ops io-duration-1142M 11.00 ( 0.00%) 13.00 (-18.18%) Ops swaptotal-0M 451.00 ( 0.00%) 26208.00 (-5711.09%) Ops swaptotal-201M 158775.00 ( 0.00%) 37548.00 ( 76.35%) Ops swaptotal-672M 139599.00 ( 0.00%) 42514.00 ( 69.55%) Ops swaptotal-1142M 137789.00 ( 0.00%) 34580.00 ( 74.90%) Ops swapin-0M 451.00 ( 0.00%) 11830.00 (-2523.06%) Ops swapin-201M 29082.00 ( 0.00%) 16169.00 ( 44.40%) Ops swapin-672M 26611.00 ( 0.00%) 19574.00 ( 26.44%) Ops swapin-1142M 27238.00 ( 0.00%) 15625.00 ( 42.64%) Ops minorfaults-0M 557891.00 ( 0.00%) 575357.00 ( -3.13%) Ops minorfaults-201M 743922.00 ( 0.00%) 595238.00 ( 19.99%) Ops minorfaults-672M 727870.00 ( 0.00%) 653777.00 ( 10.18%) Ops minorfaults-1142M 722946.00 ( 0.00%) 595093.00 ( 17.68%) Ops majorfaults-0M 116.00 ( 0.00%) 4053.00 (-3393.97%) Ops majorfaults-201M 4251.00 ( 0.00%) 4412.00 ( -3.79%) Ops majorfaults-672M 3854.00 ( 0.00%) 4971.00 (-28.98%) Ops majorfaults-1142M 3910.00 ( 0.00%) 4033.00 ( -3.15%)