LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-05-2011, 01:34 AM   #1
hellfire911
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Rep: Reputation: 0
O_DIRECT option of bonnie++


Hi, there
Is anybody know the O_DIRECT option of bonnie++ ??
I can't find it. Please help.
 
Old 03-05-2011, 02:04 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
There doesn't appear to be one (yes, I saw your post in the other thread). Perhaps that person was referring to (and mis-interpreting) the -b option.

Perhaps you could have a look at fio as a benchmark instead.
 
1 members found this post helpful.
Old 03-05-2011, 03:01 AM   #3
hellfire911
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot, I noticed that -b option means not using disk write cache.
But I'm now doing a disk throughput test, it requires that I should turn the read cache off.
I've tested my disk with -b option, and compare the results, as -b option said, it nearly took no effect on read speed.
 
Old 03-05-2011, 03:14 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,491

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Why would you expect it to ?. Unless you're re-reading the same data.
 
Old 03-07-2011, 08:13 PM   #5
hellfire911
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 0
I'm doing a hard disk throughput test which requires that both read cache and write cache must be disabled.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use O_DIRECT ? Stephan_Craft Linux - Server 1 10-05-2009 06:16 AM
LXer: Using Bonnie++ for filesystem performance benchmarking LXer Syndicated Linux News 0 07-01-2008 07:30 PM
Raid0 Bonnie++ Test pliqui Linux - Hardware 0 11-28-2007 12:26 AM
Bonnie++ results jpc82 Linux - Software 0 04-17-2004 07:39 AM
hdparm and bonnie results for scsi disk Henry_1 Linux - General 0 10-14-2003 12:51 PM


All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration