Thread (24 messages) 24 messages, 6 authors, 2004-07-31

Re: Scaling problem with shmem_sb_info->stat_lock

From: Brent Casavant <hidden>
Date: 2004-07-30 21:40:22

On Thu, 29 Jul 2004, Hugh Dickins wrote:
Why doesn't the creator of the shm segment or /dev/zero mapping just
fault in all the pages before handing over to the other threads?
Dean Roe pointed out another answer to this.  For NUMA locality reasons
you want individual physical pages to be near the CPU which will use it
most heavily.  Having a single CPU fault in all the pages will generally
cause all pages to reside on a single NUMA node.

Brent

-- 
Brent Casavant             bcasavan@sgi.com        Forget bright-eyed and
Operating System Engineer  http://www.sgi.com/     bushy-tailed; I'm red-
Silicon Graphics, Inc.     44.8562N 93.1355W 860F  eyed and bushy-haired.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help