thanks alot<br><br>that is exactly what i am looking for!!!<br><br><div class="gmail_quote">On Sat, May 31, 2008 at 3:57 PM, Vincent Trouilliez <<a href="mailto:vincent.trouilliez@modulonet.fr">vincent.trouilliez@modulonet.fr</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Sat, 31 May 2008 15:14:41 -0400<br>
"Qiuli Han" <<a href="mailto:ivyharry@gmail.com">ivyharry@gmail.com</a>> wrote:<br>
<br>
> I am trying to see how much cache does my hard drive have. I installed<br>
> hwinfo, but it only gives me some hardware vendor information and system<br>
> location information.<br>
><br>
> Is there anyway I can see my disk's cache size?<br>
><br>
> running 8.04, hard disk is: WDC WD3200KS-00P (as per hwinfo)<br>
<br>
</div></div>Hi,<br>
<br>
no need to install extra software ;-)<br>
You can just use hdparm, here is an example on my hard drive<br>
(replace sda with the relevant device name of your own drive of course).<br>
<br>
-----------------------------<br>
$ sudo hdparm -i /dev/sda<br>
[sudo] password for vincent:<br>
<br>
/dev/sda:<br>
<br>
 Model=SAMSUNG HD502IJ                         , FwRev=1AA01110,<br>
SerialNo=S13TJDWQ412337 Config={ Fixed }<br>
 RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4<br>
 BuffType=DualPortCache, BuffSize=16384kB, MaxMultSect=16, MultSect=?16?<br>
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168<br>
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}<br>
 PIO modes:  pio0 pio1 pio2 pio3 pio4<br>
 DMA modes:  mdma0 mdma1 mdma2<br>
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6<br>
 AdvancedPM=yes: disabled (255) WriteCache=enabled<br>
 Drive conforms to: unknown:  ATA/ATAPI-3,4,5,6,7<br>
--------------------------------<br>
<br>
My drive has 16MB of cache, it is described above as "BuffSize=16384kB".<br>
<br>
You can also use hdparm -I (upper case 'i') to display even more<br>
information about your drive.<br>
<br>
Just run "man hdparm" to see all the options available ;-)<br>
<br>
--<br>
Vince<br>
<font color="#888888"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br>