hi
i was going through the man file of hdparm
the very first option hdparm -a /dev/hdx
shows which read ahead factor of your drive
which is normally 8 by default.. same for my drive
i also checked a few site for flags that can be ideally used
along with hdparm command.. now my querry
man hdparm states the following for -a flag
"-a Get/set sector count for filesystem read-ahead. This is used to
improve performance in sequential reads of large files, by
prefetching additional blocks in anticipation of them being
needed by the running task. In the current kernel version
(2.0.10) this has a default setting of 8 sectors (4KB). This
value seems good for most purposes, but in a system where most
file accesses are random seeks, a smaller setting might provide
better performance. "
note the last line that suggests smaller setting provides better performance.
now the site that i checked for improving IDE settings
http://usalug.org/phpBB2/viewtopic.php?p=33142
here the author says:
hdparm -d1 -m16 -A1 (-a64) -u1 /dev/hda
^^^ this option (-a64)
he says: -A1 -- Enables the auto-readahead feature of the drive
-a64 -- tells the drive how far to read ahead.
Now, 64 is a number higher to 8.... isnt that just the
opposite to what man page of hdparm suggests??!!
Do anyone have an explanation to this? bcos i saw the same suggestion
at one more site.
adios
~ anup
--
whosoever shall say unto this mountain, Be thou removed,
and be thou cast into the sea; and shall not doubt in his heart,
but shall believe that those things which he saith shall come to pass;
he shall have whatever he saith.
-- MARK 11:23
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~->
***Archives:
http://groups.yahoo.com/group/linuxvadapav/messages
***Group Usage Guidelines (Please Read):
http://groups.yahoo.com/group/linuxvadapav/files/mailing_rules
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/linuxvadapav/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/