hardware cache

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

 



intel pentium chip has 2 cache D and I

i disabled the hardware cache and executes
%time ls -l -r /bin
1st time real = 0m0.12s
         user=0m0.10s
         sys=0m0.00s
2nd time
     0m0.11
     0m0.10
     0m0.0
3rd same

when enabled
1st
0m0.11s
0m0.10s
0m0.0s

2nd
0m0.11s
0m0.00s
0m0.10s

3rd 
0m0.12s
0m0.10s
0m0.00s

and process when ENABLED
%time cp -r /usr/src/linux-2.4 /tmp
1st time
1m32.147
0m0.290s
0m20.050s
2nd
1m27.384
0m0.190s
0m20.880s
and when DISABLED
1st
1m29.351s
0m0.340s
0m19.750s
2nd
01m26.872
0m0.280s
0m20.050s
2nd time

plz can anybody explains this confusing statistics


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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