Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Christoph Lameter <clameter@...>, Eric Dumazet <dada1@...>, <linux-arch@...>, <linux-kernel@...>, David Miller <davem@...>, Peter Zijlstra <peterz@...>, Rusty Russell <rusty@...>, Mike Travis <travis@...>
Date: Friday, May 30, 2008 - 7:32 am

On Thu, May 29, 2008 at 11:37:58PM -0700, Andrew Morton wrote:

Another example, not as extreme, there's an alloc_percpu(struct
disk_stats) [80 bytes on 64-bit machines] for every disk and every
partition in the machine.  The TPC system has 3000 disks, each with 14
partitions on it.  That's 15 * 80 * 3000 = 3,600,000 bytes.

Even if you're only putting a pointer to each allocation in the percpu
area, that's still 360,000 bytes, 12x as much as you think is sufficient
for the entire system.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access, Christoph Lameter, (Thu May 29, 11:56 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Christoph Lameter, (Fri May 30, 1:03 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Christoph Lameter, (Fri May 30, 1:27 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Christoph Lameter, (Fri May 30, 1:50 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Christoph Lameter, (Fri May 30, 2:12 pm)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Christoph Lameter, (Fri May 30, 2:16 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., KAMEZAWA Hiroyuki, (Fri May 30, 2:51 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Christoph Lameter, (Fri May 30, 2:22 am)
Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu a..., Matthew Wilcox, (Fri May 30, 7:32 am)