lkml.org 
[lkml]   [2009]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: regarding the x86_64 zero-based percpu patches
    On Mon, 12 Jan 2009, Eric W. Biederman wrote:

    > > There are 2M TLB entries on x86_64. If we really get into a high usage
    > > scenario then the 2M entry makes sense. Average server memory sizes likely
    > > already are way beyond 10G per box. The higher that goes the more
    > > reasonable the 2M TLB entry will be.
    >
    > 2M of per cpu data doesn't make sense, and likely indicates a design
    > flaw somewhere. It just doesn't make sense to have large amounts of
    > data allocated per cpu.

    Some data is not small. MIB data is allocated per cpu etc etc

    > What would be better is simply to:
    > - Require a lock to access another cpus per cpu data.
    > - Do large page allocations for the per cpu data.
    >
    > At which point we could grow the per cpu data by simply reallocating it on
    > each cpu and updating the register that holds the base pointer.

    If per cpu data areas have no fixed address then you cannot use list
    operations on per cpu data nor can the address of per cpu variables be
    stored anywhere.

    But maybe that is okay?



    \
     
     \ /
      Last update: 2009-01-12 20:03    [W:3.970 / U:2.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site