View previous topic :: View next topic |
Author |
Message |
prosiaq n00b
Joined: 06 Sep 2002 Posts: 3
|
Posted: Sat Sep 07, 2002 1:23 pm Post subject: performance |
|
|
on one of my system i've got 256MB ram. Memory status looks:
Code: |
# free
total used free shared buffers cached
Mem: 255828 238000 17828 0 24020 139592
-/+ buffers/cache: 74388 181440
Swap: 522072 13208 508864
|
and Timing buffer-cache reads:
Code: |
# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.82 seconds =156.10 MB/sec
Timing buffered disk reads: 64 MB in 2.33 seconds = 27.47 MB/sec
|
On the second one i've got 320MB ram, memory shows:
Code: |
# free
total used free shared buffers cached
Mem: 321532 316644 4888 0 58120 147184
-/+ buffers/cache: 111340 210192
Swap: 665744 15092 650652
|
and timings are:
Code: |
hdparm -Tt /dev/hde
/dev/hde:
Timing buffer-cache reads: 128 MB in 2.95 seconds = 43.39 MB/sec
Timing buffered disk reads: 64 MB in 2.62 seconds = 24.43 MB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.
|
I don't think that's low of memory.
PROsiaq |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Sep 07, 2002 1:49 pm Post subject: |
|
|
The first box had 17828K and the second had 4888K free. hdparm needs some free memory for its -T test. The man page says a couple megs; I guess it needs slightly more than that. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
|
Back to top |
|
|
echeslack Tux's lil' helper
Joined: 21 Jul 2002 Posts: 131 Location: NJ, USA
|
Posted: Sat Sep 07, 2002 6:20 pm Post subject: |
|
|
You don't actually say it, but it judging by your memory usage, I would guess you are in X. From what I have read on the topic, you should be doing anything with hdparm outside of X and with a minimal set of other programs running (i.e. no webservers under heavy load).
-ewen |
|
Back to top |
|
|
|