hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : process performance
Reply

Forum Jump

process performance

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-21-2003, 10:11 PM
rfxn rfxn is offline
Junior Guru
 
Join Date: Apr 2002
Location: Canada
Posts: 245

process performance


The problem? Linux has priority levels to thread all tasks at, these prio's are ranged from -20 to +20 (negative = high prio, positive = low prio) with 0 as the default for all processes. So this being the fact, with everything operating at prio 0 you got fights between
services as to who gets what resources first.

Solution? Very simply, que different processes at different priority levels to effectively discipline the system on who gets what resource access first.

Project Page/Download:
http://www.r-fx.net/spri.php

Other Projects:
http://www.r-fx.net/proj.php

Spri is set to run from cron once every 45 minutes and is easy to configure; simply review the readme file on the above url or included in the project download file. Once installed run the command 'spri -v' to run it once.

Default rule files are for ensim and cpanel; you may want to edit these files and remove the cpanel or ensim specific depending on your system (why run options you dont need). The rule files are noted in the README file.

UH-Matt saw considerable performance increases on his servers with spri implamented and as have others. I would like to see more usage of spri as it has been very slim and performance stats from various people.

[mods] gpl project; this isnt advertisment so stop moving my threads [/mods]

__________________
'Make no mistake, the odds are not in your favor -- you have to patch every hole,
but an attacker need find only one to get into your environment.'

R-fx Networks - Linux Software & Blog | http://www.rfxn.com



Last edited by rfxn; 09-21-2003 at 10:24 PM.


Sponsored Links
  #2  
Old 09-21-2003, 10:26 PM
Fair Dinkum Fair Dinkum is offline
M*T
 
Join Date: Apr 2002
Location: A Hut
Posts: 2,576
I have been using this for a while, and give it a thumbs up. It does help IMHO.

I have had favorable results. Nice thing is, the stuff is free.... even so, I chose to donate. I like good stuff. In fact, I use a bunch of the software from them.
Glenn

__________________
Don't you walk thru my words
You got to show some respect
Don't you walk thru my words
'Cause you ain't heard me out yet

  #3  
Old 09-21-2003, 10:35 PM
rfxn rfxn is offline
Junior Guru
 
Join Date: Apr 2002
Location: Canada
Posts: 245
sadly not many people use spri and dont realize the potential value it has for performance.

__________________
'Make no mistake, the odds are not in your favor -- you have to patch every hole,
but an attacker need find only one to get into your environment.'

R-fx Networks - Linux Software & Blog | http://www.rfxn.com


Sponsored Links
  #4  
Old 09-22-2003, 12:47 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,004
Just installed it on one of the servers. Will feedback

__________________
••• Like us on Facebook to qualify for discounts! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

  #5  
Old 09-22-2003, 02:27 AM
SideFX SideFX is offline
WHT Addict
 
Join Date: Dec 2002
Posts: 123
Just installed lets see how it does

__________________
Jeremy Shepherd
Jshepmedia
Illustration and Website Design

  #6  
Old 09-22-2003, 11:29 AM
magnafix magnafix is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Montana USA
Posts: 673
I had our sr. sysadmin take a look at this tool. Here are his (not my) conclusions:

looking into it it's only useful for long running processes anyway....it's
not a kernel patch or anything, just a single-shot program that runs once
every so often as triggered by cron. That makes it even less useful.

Besides I don't think his point is valid anyway. Linux adjusts a processes
priority dynamically based on actual CPU usage. those using more get less.
The levels he's talking about are niceness levels, that set a base level
for tie breakers. spri could help a badly loaded system to break ties
quicker, as long as processes are long-running. So really this wouldn't
help a whole lot on [our shell/ftp server] either. I had figured it was a kernel patch or
daemon that kept consistent monitoring. If it were efficient enough to run
once a minute it might help with the load hogs, assuming it knows how to
recognize one and nice it down. I think though there are better utilities
for that, and certainly ones geared towards that.

__________________
John Masterson
Former Hosting Company Owner

  #7  
Old 09-22-2003, 01:05 PM
rfxn rfxn is offline
Junior Guru
 
Join Date: Apr 2002
Location: Canada
Posts: 245
Thus the basis of why spri comes configured to only set tasking priorities on daemon services such as HTTP, MySQL and so forth.

It is not meant to do anything for short-term apps; for that you should set a non-zero default priority for all apps with pam.d/limits module. And my noted advantages above are proven results for web server environments.

Cant say youl see any performance difference on a shell servers; and likewise there is a PRM utility i created that handles unsavy programs with bad resource consumption.

<removed email notification to fix thread>

__________________
'Make no mistake, the odds are not in your favor -- you have to patch every hole,
but an attacker need find only one to get into your environment.'

R-fx Networks - Linux Software & Blog | http://www.rfxn.com


  #8  
Old 09-23-2003, 03:20 AM
anon-e-mouse anon-e-mouse is offline
Community Leader
 
Join Date: Jul 2002
Location: Tasmania, Australia
Posts: 32,829
Testing fix.

  #9  
Old 09-23-2003, 03:53 AM
Knogle Knogle is offline
Web Hosting Master
 
Join Date: Feb 2002
Posts: 3,727
Quote:
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
IE 6.0 on WinXP.

__________________
• Have • you • Floble'd • today? •

  #10  
Old 09-25-2003, 02:14 AM
Daijoubu Daijoubu is offline
Web Hosting Guru
 
Join Date: Oct 2002
Location: Canada, QC, Montreal
Posts: 302
Same here, unable to contact host with Opera

  #11  
Old 09-29-2003, 10:39 AM
sprintserve sprintserve is offline
Retired Moderator
 
Join Date: Jan 2003
Posts: 9,004
From experience so far, spri seems to create load problems rather than to alleviate them. It's not something I would recommend at this point.

__________________
••• Like us on Facebook to qualify for discounts! •••
••• http://www.sprintserve.net •••
••• Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting | •••
••• Services: | Managed Multiple Cores 64bit Servers | Server Management | •••

Reply

Related posts from TheWhir.com
Title Type Date Posted
The Host Group Launches Online Monitoring Services Web Hosting News 2013-07-29 14:25:59
cPacket Launches SPIFEE for Service Providers to Detect Network Performance Issues Web Hosting News 2013-01-28 16:21:35
ProfitBricks Says its New β€œNext Generation Cloud” Outperforms Amazon, Rackspace Web Hosting News 2012-09-10 16:35:00
Cloud Spectator Study Finds Internal Network Stability Crucial to Overall Cloud Performance Web Hosting News 2012-09-06 09:29:36
New Relic, SOASTA Run Performance Management Tool on Cloud Testing Platform Web Hosting News 2012-05-24 16:32:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?