Re: RFC: using worker threadpool to speed up clear_huge_page() by up to 5x

2016-07-27 Thread David Miller
From: kpusukur Date: Sun, 17 Jul 2016 12:35:20 -0700 > We would welcome feedback and discussion of potential problems. > > We would also like to hear ideas for other areas in the kernel where a > similar technique could be employed. For example, we've also applied > this idea to copy on write op

RFC: using worker threadpool to speed up clear_huge_page() by up to 5x

2016-07-17 Thread kpusukur
A prototype implementation of multi-threaded clear_huge_page() function based on the kernel work queue mechansim speeds up the function by up to 5x. The existing code requires 320ms to clear a 2Gb huge page on a Sparc M7 processor, while the multi-threaded version achieves this in 65ms using 16