Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646380

Re: [v4 1/1] mm: Adaptive hash table scaling

From Andi Kleen <andi@firstfloor.org>
Newsgroups linux.kernel
Subject Re: [v4 1/1] mm: Adaptive hash table scaling
Date 2017-05-21 18:40 +0200
Message-ID <tJC3E-1JM-5@gated-at.bofh.it> (permalink)
References <tJg37-4h7-5@gated-at.bofh.it> <tJg37-4h7-7@gated-at.bofh.it> <tJotH-1hi-3@gated-at.bofh.it> <tJyCL-7To-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, May 21, 2017 at 08:58:25AM -0400, Pasha Tatashin wrote:
> Hi Andi,
> 
> Thank you for looking at this. I mentioned earlier, I would not want to
> impose a cap. However, if you think that for example dcache needs a cap,
> there is already a mechanism for that via high_limit argument, so the client

Lots of arguments are not the solution. Today this only affects a few
highend systems, but we'll see much more large memory systems in the
future. We don't want to have all these users either waste their memory,
or apply magic arguments.

> can be changed to provide that cap. However, this particular patch addresses
> scaling problem for everyone by making it scale with memory at a slower
> pace.

Yes your patch goes in the right direction and should be applied.

Just could be even more aggressive.

Long term probably all these hash tables need to be converted to rhash
to dynamically resize.

-Andi

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[v4 0/1] mm: Adaptive hash table scaling Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-05-20 19:10 +0200
  [v4 1/1] mm: Adaptive hash table scaling Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-05-20 19:10 +0200
    Re: [v4 1/1] mm: Adaptive hash table scaling Andi Kleen <andi@firstfloor.org> - 2017-05-21 04:10 +0200
      Re: [v4 1/1] mm: Adaptive hash table scaling Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-05-21 15:00 +0200
        Re: [v4 1/1] mm: Adaptive hash table scaling Andi Kleen <andi@firstfloor.org> - 2017-05-21 18:40 +0200
    Re: [v4 1/1] mm: Adaptive hash table scaling Michael Ellerman <mpe@ellerman.id.au> - 2017-05-22 08:20 +0200
    Re: [v4 1/1] mm: Adaptive hash table scaling Michal Hocko <mhocko@kernel.org> - 2017-05-22 11:30 +0200
      Re: [v4 1/1] mm: Adaptive hash table scaling Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-05-22 15:20 +0200
        Re: [v4 1/1] mm: Adaptive hash table scaling Michal Hocko <mhocko@kernel.org> - 2017-05-22 15:40 +0200
          Re: [v4 1/1] mm: Adaptive hash table scaling Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-05-22 15:50 +0200

csiph-web