Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Running Tornado App on Individual Core
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David P. Novakovic  
View profile  
 More options Mar 22 2011, 9:00 pm
From: "David P. Novakovic" <davidnovako...@gmail.com>
Date: Wed, 23 Mar 2011 11:00:04 +1000
Local: Tues, Mar 22 2011 9:00 pm
Subject: Re: Running Tornado App on Individual Core

Also further to this, you want to run more than one process per CPU. This
will allow greater throughput as there are tiny amounts of time while
tornado apps will be waiting for IO from the database.

We have a quad core machine and run 10 instances of tornado, sometimes more.

David

On Wed, Mar 23, 2011 at 10:58 AM, David P. Novakovic <

davidnovako...@gmail.com> wrote:
> The operating system will assign the affinity of the processes. There is a
> fair bit of code in the kernel designed to handle this problem. Especially
> with regards to the various cache layers on a chip.

> I'm assuming you are running a modern processor here :)

> David

> On Wed, Mar 23, 2011 at 10:56 AM, Kandarp Desai <kandarpdes...@gmail.com>wrote:

>> Hi,

>> I've multicore machine to run my tornado app.  After reading few
>> discussions, I've decided to try Supervisor to monitor multiple tornado
>> instances(on same machine) and nginx to balance across those instances. But,
>> I want to assign each instance to individual core, e.g. On 4 cores machine,
>> I want to assign 3 cores to each individual tornado instance running on
>> different ports(8001,8002,8003) and 1 core to other python process. Is it
>> possible to do with supervisor ? Or I have to use some other linux scheduler
>> utilities ? Have anyone tried this kind scenario for their production
>> environment ? Any other recommendation?
>> Thanks.

>> Regards,
>> Kandarp Desai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.