LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-13-2005, 04:04 AM   #1
gena72
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Random I/O performance on Linux


Hello,

I'm aware that this topic came up a few times in the past, but i still can not find a satisfactory solution (or at least a resonable explanation) to the problem.
The application i use, generates fully random I/O read/write requests, 64 KB each (fixed). Around 60% of all operations are read. For test purposes i use IBM's DS400 SAN RAID, with 15x146GB SCSI drives installed. The RAID is connected via 2Gbit/sec Fibre-Channel link to my test system. The test system is a dual-Xeon 2.4Ghz with 3GB RAM. It has a Qlogic 2340 FC adapter that connects it to the SAN. The RAID box is configured not to use RAID functionality, i.e. each of the 15 drives has its own LUN.
I use the latest version of iometer to test the performance of this set-up. All drives combined under such load are supposed to provide ~1100 I/O operatios per second. IOmeter under Windows 2003 reaches ~950 IOPS and under Solaris 10 ~750 IOPS (on exactly same hardware setup).
When running the same workload under Linux (latest Fedora Core 4, with kernel 2.6.11) i only get a pathetic 200 IOPS. I've tried the whole range of 2.6.x kernels, starting from 2.6.5 and always got the same results. I also tried to switch elevators between deadline, CFQ and noop, but it had almost no effect. I also tried to bring in the latest Qlogic drivers (including beta), play with various driver settings, including "queue depth", and drive settings (through sdparm, and blockdev), but i've never achieved any significant performance improvement. Interestingly, when i switched from random I/O to sequential I/O i've been able to achieve close to ~1000 IOPS on 2.6. I know that the hardware/driver is not a bottleneck, so why should it matter for the kernel which I/O pattern i'm using?
With kernels 2.4.x i reached close to 400 random IOPS, which is much better, but still significantly less than hardware capability and performance observed on Windows and Solaris.
Is there any chance to improve the results to at least 700 IOPS (which is our target) on any Linux setup? At this point we're pretty desperate and planning to switch to alternative OS.

Thanks!
 
Old 07-13-2005, 04:32 AM   #2
thermite_1033
Member
 
Registered: May 2004
Location: Antwerp, Belgium
Distribution: slackware
Posts: 112

Rep: Reputation: 18
its maybe something stupid like turning DMA on your drives on

if you wanna switch from OS, i would go with slackware
 
  


Reply



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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
random wallpaper changer for linux mlu Linux - Software 1 02-11-2005 11:12 PM
Mandrake Linux Is Random zarathaz Mandriva 28 07-23-2004 08:25 PM
Creating random numbers from shell with /dev/random khermans Linux - General 1 07-13-2004 12:12 PM
Post a random linux output! Squall General 13 04-26-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:57 AM.

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