Re: Kernel code and processor's Cache
- From: feng <xu_feng_xu@xxxxxxxxx>
- Date: Fri, 9 Apr 2010 13:40:53 -0700 (PDT)
On 9 Apr, 21:36, David Schwartz <dav...@xxxxxxxxxxxxx> wrote:
On Apr 9, 1:27 pm, feng <xu_feng...@xxxxxxxxx> wrote:
Cache dedicated to the kernel would slow the libraries.
I am still not convinced. if the Kernel code needs to run in a system
with no dedicated kernel cache, user application code and data can be
evicted from the cache to be brought back later. This will definitely
slowdown the execution of the user application. with dedicated kernel
cache, the content of the user cache is unchanged and hence user
application execution can be resumed without immediate cache Miss. How
can deciated cache to the kernel slow down user applications
Dedicated cache to the kernel would slow down the user applications
because they wouldn't be able to use that cache. On any realistic
system, 90% of more of the work is done by user applications. Taking
valuable cache away from them to make the kernel run faster would be
boneheaded.
DS
thanks David for your answer and especially your patience :). User
cache should still be there. i was just wondering why not ADD another
cache inside the processor along with a TLB dedicated solely to run
kernel routines. Kernel caching is done through all the memory
hierarchy apart from the processor...
Thank you
.
- Follow-Ups:
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- References:
- Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: Joe Pfeiffer
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: Tim Roberts
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Re: Kernel code and processor's Cache
- From: feng
- Re: Kernel code and processor's Cache
- From: David Schwartz
- Kernel code and processor's Cache
- Prev by Date: Re: Kernel code and processor's Cache
- Next by Date: Re: Kernel code and processor's Cache
- Previous by thread: Re: Kernel code and processor's Cache
- Next by thread: Re: Kernel code and processor's Cache
- Index(es):
Relevant Pages
|