LinuxQuestions.org
Help answer threads with 0 replies.
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, 12: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, 01:04 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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, 02: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, 02:14 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Why would you expect it to ?. Unless you're re-reading the same data.
 
Old 03-07-2011, 07: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 05:16 AM
LXer: Using Bonnie++ for filesystem performance benchmarking LXer Syndicated Linux News 0 07-01-2008 06:30 PM
Raid0 Bonnie++ Test pliqui Linux - Hardware 0 11-27-2007 11:26 PM
Bonnie++ results jpc82 Linux - Software 0 04-17-2004 06:39 AM
hdparm and bonnie results for scsi disk Henry_1 Linux - General 0 10-14-2003 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 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
Open Source Consulting | Domain Registration