Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
performance
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
prosiaq
n00b
n00b


Joined: 06 Sep 2002
Posts: 3

PostPosted: Sat Sep 07, 2002 1:23 pm    Post subject: performance Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Sep 07, 2002 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sat Sep 07, 2002 3:35 pm    Post subject: Reply with quote

Additionaly, try this thread

https://forums.gentoo.org/viewtopic.php?t=51&highlight=
Back to top
View user's profile Send private message
echeslack
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2002
Posts: 131
Location: NJ, USA

PostPosted: Sat Sep 07, 2002 6:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum