News for hackers. Stuff that matters.
Re:The final step for huge-page swapping by senozhatsky on Tuesday July 03, 2018 @10:02PM (#17454849)
> but what kind of Real World workload or environment would one need to be in to see this in action?

Hmm, Facebook perhaps.

Emedded devices tend to use zswap/zram which [yet] don't support THP, as far as I know. For instance, take a look at zswap_frontswap_store():

         /* THP isn't supported */ 
         if (PageTransHuge(page)) { 
                 ret = -EINVAL; 
                 goto reject; 
         } 
Once zswap [and, perhaps, zram] gain THP swap out/in support, embedded devices [some of which use swap quite heavily] should also see a considerable performance improvement.

P.S. I didn't check the patch set, may be zswap THP support is already in there.

-ss

Re:The final step for huge-page swapping by senozhatsky on Wednesday July 04, 2018 @01:09AM (#17455375)
A followup: zswap THP support is not implemented yet. Huang Ying agreed that it would be interesting to have it, but it's not on his TODO list as of now.

-ss