Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] How to clear disk cache for benchmarking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
ayqazi
Apprentice
Apprentice


Joined: 10 Apr 2005
Posts: 164

PostPosted: Sun May 28, 2006 1:54 pm    Post subject: [solved] How to clear disk cache for benchmarking Reply with quote

Hi,

I want to benchmark my pair of fancy new 250GB disks in RAID 0 mode to find out the best cluster sizes for:

compiling (or 'emerging' as some may call it :-)
loading large levels in games (i.e. quake 4)

How can I clear Linux's memory-cache-of-recently-used-files-dunno-what-its-called so they do not interfere between runs of the benchmark? I know a reboot would work, and that's what I did under Windoze. But this is Linux!

Thanks


Last edited by ayqazi on Sun May 28, 2006 5:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Sun May 28, 2006 2:02 pm    Post subject: Reply with quote

see post 3327358.
Back to top
View user's profile Send private message
ayqazi
Apprentice
Apprentice


Joined: 10 Apr 2005
Posts: 164

PostPosted: Sun May 28, 2006 4:14 pm    Post subject: Reply with quote

Thanks.

You can delete this post if you want, since its redundant.

I honestly spend 30 minutes searching all sorts of places looking for this answer, using terms like 'clear disk cache linux' and 'linux benchmark raid clear cache' and all sorts of stuff, so please don't think I just posted without doing some work first.

Many thanks for the answer.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Sun May 28, 2006 5:36 pm    Post subject: Reply with quote

Thanks _ph :)

Moved from Kernel & Hardware to Duplicate Threads in favour of the above mentioned thread.

@ayqazi: No worries.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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