Re: How to disable the CPU cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/9/06, Manav Kataria <manav@xxxxxxxxxxxxx> wrote:
Hi,

MHD.Tayseer Alquoatli wrote:
>
>
> On 3/8/06, *Raseel Bhagat* <raseelbhagat@xxxxxxxxx
> <mailto: raseelbhagat@xxxxxxxxx>> wrote:
>
>     On 3/8/06, Manav Kataria <manav@xxxxxxxxxxxxx
>     <mailto:manav@xxxxxxxxxxxxx >> wrote:
>     !
>     > You dont have to do all that!
>     >
>     > There's an option in
>     > make menuconfig
>     >
>     > Kernel Config >
>     >     Processor Options >
>     >         Enable ICHACHE
>     >         Enable DCACHE
>     >
>     > Regards,
>     > Manav
>
>     CMIIW, but I thought was for inode cache and dentry cache.
>     Of course, my assumption was purely on the names starting wih I and D
>     repectively..... and I don't have a Linux box right now to go and
>     check it out
>
>
> these options are under the processor options so they are not the
> inode/dentry cache
> AFAIR those are cache architectures .. ICACHE stands for instruction
> cache and DCACHE stands for Data cache CMIIW
> thanks
Yes that is true. ICACHE here is Instruction Cache, and DCACHE stands
for Data Cache. And they function as their name suggests. Can you throw
some light on inode/dentry cache and their functions please.

inode, dentry .. are Virtual file system objects, and they are heavily created and destroyed for file system operations .. so linux choose to make a cache for them ..
you can imagine inode/dentry caches as a pool of unused inode/dentry objects that can be used when needed instead of allocating memory for new objects each time, this can rise performance ...
hope this helps

MHD.Tayseer


Thanks,
Manav


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux