LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > performances issue with x86_64 and cpu cores

Reply
 
Thread Tools Display Modes
  #11  
Old 09-02-2008, 08:27 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
From the CPU cycles consumed by the two lshttpd processes, two processes has been well balanced, so the configuration should be all right.

And it does look like the kernel allocate I/O operations to only one CPU core only, it is up to the kernel I/O scheduler, not much we can do about in user land applications.

It might be at the peak I/O throughput for the disk array, since those are random read accesses. there are a few things we can improve if have not done yet.

Make sure NCQ has been enabled for the RAID card and hard disks. try a different I/O scheduler in the kernel.

We can try a 4-CPU or 8-CPU license on this server, see if it get any better when more I/O worker processes are used. It may help a little with NCQ enabled I think.
Reply With Quote
  #12  
Old 09-02-2008, 03:17 PM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Quote:
Originally Posted by mistwang View Post
From the CPU cycles consumed by the two lshttpd processes, two processes has been well balanced, so the configuration should be all right.

And it does look like the kernel allocate I/O operations to only one CPU core only, it is up to the kernel I/O scheduler, not much we can do about in user land applications.

It might be at the peak I/O throughput for the disk array, since those are random read accesses. there are a few things we can improve if have not done yet.

Make sure NCQ has been enabled for the RAID card and hard disks. try a different I/O scheduler in the kernel.

We can try a 4-CPU or 8-CPU license on this server, see if it get any better when more I/O worker processes are used. It may help a little with NCQ enabled I think.
WOW! AWESOME!

switched IO scheduler to deadline and some other tips with kernel, now server performances increased dramatically

this mrtg graph indicates that:

Look output is about 3x now

Thanks George, you are the man!

Last edited by IrPr; 09-02-2008 at 03:59 PM..
Reply With Quote
  #13  
Old 09-02-2008, 04:12 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Glad it work out beautifully.

What is the most important factor on this, I/O scheduler? or other kernel tuning tips?
Reply With Quote
  #14  
Old 09-02-2008, 04:47 PM
IrPr IrPr is offline
Senior Member
 
Join Date: Jul 2008
Posts: 147
Quote:
Originally Posted by mistwang View Post
Glad it work out beautifully.

What is the most important factor on this, I/O scheduler? or other kernel tuning tips?
  • Switching to deadline I/O Scheduler has the most efficient
  • set READAHEAD to much higher value, changed 256 to 16M
  • increased VM dirty ratio 20 values

Last edited by IrPr; 09-02-2008 at 04:51 PM..
Reply With Quote
  #15  
Old 09-03-2008, 06:18 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thanks!
We will add a wiki entry for this.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:48 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.