LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 08-03-2009, 08:31 PM   #1
jdang
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Unhappy IOPs Performance Drop on Different Kernel Releases


In porting my iSCSI target driver to the new 2.6.30.1 kernel, I found out that it only gives me 70% of the IOPs performance that I used to get with 2.6.25. I then tested with other Linux releases and found out that the performance drop also happens on 2.6.26 and 2.6.27 without any modification/changes on my iSCSI driver code.

Questions:
1. What area in the kernel drivers should I look at to root cause this problem?
2. Is anybody aware of any similar issue?

Thanks,

Joe.
 
Old 08-05-2009, 03:44 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
I haven't heard of such problem, but I believe it could happen. You should perform a profiling of your driver and see which operation (or time between which operations) is increased. That's your code, so you will know which places are critical. When you have that info, you can look into the changes in the kernel subsystems used in the places you identify. With 30% drop it may not be that obvious, however (10 times drop would be much harder to debug). It may be some very small thing, but run very often. Check locking, for instance.
 
Old 08-05-2009, 08:21 PM   #3
jdang
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I'm in the process of locating where in my driver code that causes such IOPs drop.

Thanks for your suggestions.

Joe.
 
Old 09-07-2009, 03:21 AM   #4
pa1gupta
LQ Newbie
 
Registered: Jan 2009
Location: New Delhi
Distribution: Ubuntu, Fedora
Posts: 4

Rep: Reputation: 0
I am also facing a similar issue. I have ported my PCI function driver from kernel 2.6.23 to 2.6.27 which does DMA to an external device . Now I have noticed about 10% drop in performance.
I have done the profiling using Oprofile in both the kernel versions. I have noticed that interrupt handler is taking more time in 2.6.27 specifically at PCI read operation.

Does anybody has a clue what could be the problem?
 
Old 10-11-2009, 06:18 AM   #5
pa1gupta
LQ Newbie
 
Registered: Jan 2009
Location: New Delhi
Distribution: Ubuntu, Fedora
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by pa1gupta View Post
I am also facing a similar issue. I have ported my PCI function driver from kernel 2.6.23 to 2.6.27 which does DMA to an external device . Now I have noticed about 10% drop in performance.
I have done the profiling using Oprofile in both the kernel versions. I have noticed that interrupt handler is taking more time in 2.6.27 specifically at PCI read operation.

Does anybody has a clue what could be the problem?
The problem was narrowed down to ext filesystem in Fedora 10 as after using ramfs the throughput is just fine.
 
  


Reply

Tags
different, iscsi, linux


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
iptables DROP, performance effect with n lines? jhwilliams Linux - Software 1 02-01-2009 05:49 AM
LXer: Intel IOPs gain better Debian Linux support LXer Syndicated Linux News 0 03-20-2007 06:16 AM
Dramatic drop in performance Niteskye Slackware 3 01-27-2006 02:20 PM
drop in performance under load slzckboy Slackware 10 11-10-2005 05:58 PM
Redhat AS3.0 performance drop yuhuashi Red Hat 1 05-29-2005 08:15 AM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
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