[PATCH v2 2/2] KSM: Replace jhash2 with xxhash

2017-09-22 Thread Timofey Titovets
jhash2 used for calculating checksum for in memory pages, for detect fact of changes in page. xxhash much faster then jhash2, some tests: x86_64 host: CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz PAGE_SIZE: 4096, loop count: 1048576 jhash2: 0xacbc7a5btime: 1907 ms,

[PATCH v2 2/2] KSM: Replace jhash2 with xxhash

2017-09-22 Thread Timofey Titovets
jhash2 used for calculating checksum for in memory pages, for detect fact of changes in page. xxhash much faster then jhash2, some tests: x86_64 host: CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz PAGE_SIZE: 4096, loop count: 1048576 jhash2: 0xacbc7a5btime: 1907 ms,

[PATCH v2 2/2] KSM: Replace jhash2 with xxhash

2017-09-21 Thread Timofey Titovets
jhash2 used for calculating checksum for in memory pages, for detect fact of changes in page. xxhash much faster then jhash2, some tests: x86_64 host: CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz PAGE_SIZE: 4096, loop count: 1048576 jhash2: 0xacbc7a5btime: 1907 ms,

[PATCH v2 2/2] KSM: Replace jhash2 with xxhash

2017-09-21 Thread Timofey Titovets
jhash2 used for calculating checksum for in memory pages, for detect fact of changes in page. xxhash much faster then jhash2, some tests: x86_64 host: CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz PAGE_SIZE: 4096, loop count: 1048576 jhash2: 0xacbc7a5btime: 1907 ms,