In 2.6.15 kernels and higher, you can use "taskset" to pin a task to a
certain CPU. Here's a way to set httpd to the 2nd processor in a 4 way
system:
HTTPDPID=`ps -A | grep -a -A0 "httpd"`
taskset 0x00000002 -p ${HTTPDPID:0:5}
-----Original Message-----
From: Don [mailto:sales@xwebfactor.com]
Sent: Monday, November 27, 2006 10:48 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Do extra CPU's help?
yes...a lot...especially in high volume situations...or situations with a
lot of transcoding
----- Original Message -----
From: Eric <mailto:asterisk.eric@gmail.com> Bishop
To: Asterisk Users Mailing List -
<mailto:asterisk-users@lists.digium.com>
Non-Commercial Discussion
Sent: Tuesday, November 28, 2006 12:42 AM
Subject: Re: [asterisk-users] Do extra CPU's help?
Do extra CPU's without hyperthreading help?
On 11/28/06, Don < sales@xwebfactor.com <mailto:sales@xwebfactor.com>
>
wrote:
hyperthreading screws ours up...we actually run better with hyperthreading
off...
hyperthreading results seem to vary from different people you talk too.
----- Original Message -----
From: Eric Bishop <mailto:asterisk.eric@gmail.com>
To: Asterisk <mailto:asterisk-users@lists.digium.com> Users Mailing List
-
Non-Commercial Discussion
Sent: Monday, November 27, 2006 10:54 PM
Subject: [asterisk-users] Do extra CPU's help?
Hi all,
We have Xeon-based system with only 1 (hyperthreaded) CPU (in a HP DL360).
We are seeing high load on multiple meetme session as well as g729
transcoding. My question is will putting an extra CPU help or does Asterisk
just run on a single CPU.
_____
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com <http://Easynews.com>
--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
<http://lists.digium.com/mailman/listinfo/asterisk-users>
_____
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.17/553 - Release Date: 11/27/2006
4:00 AM
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com <http://Easynews.com>
--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
<http://lists.digium.com/mailman/listinfo/asterisk-users>
_____
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_____
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.17/553 - Release Date: 11/27/2006
4:00 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061128/006b7705/attachment.htm