Re: [perf-discuss] prefetch data for page fault

2007-09-20 Thread love_code meta
"The system thread handling the page fault might not know the actual address that the program was trying to access, and thus the system thread might not know which cache line to prefetch. " The virtual address is as first parameter for pagefault function. "The system thread handling the pag

Re: [perf-discuss] prefetch data for page fault

2007-09-20 Thread Peter Damron
> Sorry for my obscure description. My > means is when we return from pagefault trap, whether > we may use prefetch instruction to load > the addr into cache in advance, because we > know it has been in physcal memory and the > user programe will re-access the addr. It > maybe benificial when th

Re: [perf-discuss] What's the properly way of limiting usr process size?

2007-09-20 Thread David S. Collier-Brown
Memory usage can be controlled globally or by project on Solaris 9 with Solaris Resource Manager (SRM). The reference I usually use is "Solaris Containers- Resource Management and Solaris Zones", although it's predominantly about Solaris 10. This message posted from opensolaris.org _

[perf-discuss] What's the properly way of limiting usr process size?

2007-09-20 Thread Sean Liu
Hi there, To my understanding, when a user process runs away and asks for too much memory, paging/swapping will happen, so either system performance gets a hit ( because of memory paging and the IO it caused ), or /tmp gets so shrinked that new process can't be started which renders unusable sy

Re: [perf-discuss] (fwd) Re: Project proposal: CPUfs (fwd)

2007-09-20 Thread Roch - PAE
Bill Sommerfeld writes: > On Fri, 2007-09-14 at 13:06 -0700, Alexander Kolbasov wrote: > > Just being Devil's advocate. I don't doubt that you should be able to > > improve the measurement significantly. I just think that the notion of > > CPU utilization is a vague and processor dependent c

Re: [perf-discuss] prefetch data for page fault

2007-09-20 Thread love_code meta
Sorry for my obscure description. My means is when we return from pagefault trap, whether we may use prefetch instruction to load the addr into cache in advance, because we know it has been in physcal memory and the user programe will re-access the addr. It maybe benificial when the system do

Re: [perf-discuss] prefetch data for page fault

2007-09-20 Thread Wee Yeh Tan
On 9/18/07, love_code meta <[EMAIL PROTECTED]> wrote: > After mapping virtual memory, then access data in memory, we know that > will generate page fault trap if no physical memory page available. > Is it beneficial that before resuming user program we pre-fetch the addr > which caused page fault?