Re: System Performances

2006-08-01 Thread Matus UHLAR - fantomas
On 28.07.06 03:49, gustavo halperin wrote:
> 
> By now I have the current 'hdparm' settings: -m16 -c3 -u1 -Xudma5
> Then the  'hdparm -Tt /dev/hda' show the next results:
>/dev/hda:
>Timing cached reads:   1376 MB in  2.00 seconds = 686.58 MB/sec
>Timing buffered disk reads:   50 MB in  3.02 seconds =  16.53 MB/sec
> But if the configuration is '-m0 -c0 -u0 ' the result from 'hdparm -Tt' 
> is the same, so there are any way to improve this Timings ??

If your system uses DMA, those settings are not used.
What kind of disk is that? If that's older type of hdd, it's quite fast.
If it's new one, do you have connected it using 80pin cable?

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: System Performances

2006-07-28 Thread George Borisov
gustavo halperin wrote:
> 
> By now I have the current 'hdparm' settings: -m16 -c3 -u1 -Xudma5
> Then the  'hdparm -Tt /dev/hda' show the next results:
>/dev/hda:
>Timing cached reads:   1376 MB in  2.00 seconds = 686.58 MB/sec
>Timing buffered disk reads:   50 MB in  3.02 seconds =  16.53 MB/sec

On my Linux desktop I only get (with "hdparm -a 32 -c 3 -d 1 -m 16 -u 1
/dev/hda":)

  /dev/hda:
  Timing cached reads:   328 MB in  2.01 seconds = 162.83 MB/sec
  Timing buffered disk reads:   60 MB in  3.05 seconds =  19.66 MB/sec

:-(

That said, it still does the job.


Best regards,

-- 
George Borisov

DXSolutions Ltd



signature.asc
Description: OpenPGP digital signature


Re: System Performances

2006-07-27 Thread Wayne Topa
gustavo halperin([EMAIL PROTECTED]) is reported to have said:
> Hello I have some questions about system performances.
> 
> By now I have the current 'hdparm' settings: -m16 -c3 -u1 -Xudma5
> Then the  'hdparm -Tt /dev/hda' show the next results:
>/dev/hda:
>Timing cached reads:   1376 MB in  2.00 seconds = 686.58 MB/sec
>Timing buffered disk reads:   50 MB in  3.02 seconds =  16.53 MB/sec
> But if the configuration is '-m0 -c0 -u0 ' the result from 'hdparm -Tt' 
> is the same, so there are any way to improve this Timings ??
> 
> Second If I set with 'hdparm' the settings '-S 12' and '-y' always after 
> few minutes the drive state back to 'active/idle', that is OK.
> 
> Last, the configurations of the "performance-settings Linux  VM" 
> (/proc/sys/vm/) and the "system wide limit for file handles" 
> (/proc/sys/fs/file_max) can improve system behave ? How can I know what 
> are the best configurations ??
> 
It seem that you have the hdparm package installed but not the hwtools
package.  If you install it you can set up /etc/init.d/hwtools to
retain the hdparm settings.  Like

if command -v hdparm >/dev/null 2>&1; then
hdparm -q -m32 -a266 -A1 -c3 -d1 -u1 -W0 -S242 /dev/hda
hdparm -q -m16 -a256 -A1  -c3 -d1 -u1 -W0 -S220 /dev/hdb
hdparm -q -d1   /dev/hdc
true
fi
echo " hdparm"

Hope this is what you were looking for.

WT

-- 
It is practically impossible to teach good programming style to students that 
have had prior exposure to BASIC: as potential programmers they are mentally 
mutilated beyond hope of regeneration. -- Dijkstra
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: System Performances

2006-07-27 Thread shell

gustavo halperin wrote:

Hello I have some questions about system performances.

By now I have the current 'hdparm' settings: -m16 -c3 -u1 -Xudma5
Then the  'hdparm -Tt /dev/hda' show the next results:
   /dev/hda:
   Timing cached reads:   1376 MB in  2.00 seconds = 686.58 MB/sec
   Timing buffered disk reads:   50 MB in  3.02 seconds =  16.53 MB/sec
But if the configuration is '-m0 -c0 -u0 ' the result from 'hdparm 
-Tt' is the same, so there are any way to improve this Timings ??


Second If I set with 'hdparm' the settings '-S 12' and '-y' always 
after few minutes the drive state back to 'active/idle', that is OK.


Last, the configurations of the "performance-settings Linux  VM" 
(/proc/sys/vm/) and the "system wide limit for file handles" 
(/proc/sys/fs/file_max) can improve system behave ? How can I know 
what are the best configurations ??


Thank you,
  Gustavo



Did u open DMA? I get

Timing cached reads:   440 MB in  2.01 seconds = 219.40 MB/sec
Timing buffered disk reads:   82 MB in  3.05 seconds =  26.89 MB/sec
in my old disk. My momery is jsut 256M so cached read looks bad. But 
buffered read is OK. & this is my param.

hdparm -v /dev/hdb

/dev/hdb:
multcount= 16 (on)
IO_support   =  1 (32-bit)
unmaskirq=  0 (off)
using_dma=  1 (on)
keepsettings =  0 (off)
readonly =  0 (off)
readahead= 256 (on)
geometry = 65535/16/63, sectors = 78165360, start = 0

BTW, check u cable is really UATA100 or later, do not just connect by a 
CDROM cable which just can provide 33M/s as max.


--
与其相濡以沫,不如相忘于江湖


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]