Managing Applications with different CORE and EThx ?

This is a discussion on Managing Applications with different CORE and EThx ? within the Redhat forums, part of the Linux category; Hi, I am running CentOS 5 I've got a computer with 2 Ehternet network card I am running 2 applications, which have access to inernet Is there a way to ...

Go Back   Unix Linux Forum > Unix > Linux > Redhat

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-23-2008, 01:35 AM
Default Managing Applications with different CORE and EThx ?

Hi,

I am running CentOS 5

I've got a computer with 2 Ehternet network card
I am running 2 applications, which have access to inernet
Is there a way to dedicate via IPTABLES. :
- 1 application -> via Eth0 ?
- 1 applicaiton -> via Eth1 ?


2) On Duo core processor
can I also dedicate 1 application with 1 core ?
and the other application with the other code ?

Thanks in advance
Reply With Quote
  #2  
Old 08-23-2008, 04:05 AM
Default Re: Managing Applications with different CORE and EThx ?

Steve wrote:
> Hi,
>
> I am running CentOS 5
>
> I've got a computer with 2 Ehternet network card
> I am running 2 applications, which have access to inernet
> Is there a way to dedicate via IPTABLES. :
> - 1 application -> via Eth0 ?
> - 1 applicaiton -> via Eth1 ?
>
>
> 2) On Duo core processor
> can I also dedicate 1 application with 1 core ?
> and the other application with the other code ?
>
> Thanks in advance


Steve,


This can be 'forced' by XEN. Run each application in a different XEN domain.

Otherwise the application needs special features.


Kind regards,


Jan Gerrit Kootstra
Reply With Quote
  #3  
Old 09-03-2008, 11:16 PM
Default Re: Managing Applications with different CORE and EThx ?

For one app per CPU, this is called CPU affinity. Solaris supports
this. A few years back, I tried this on Linux, but it did not work
right. I don't know if there any development since, but you can
Google for "cpu affinity".

Huy
--
Huy Le
Spring Partners, Inc.
http://www.springpartners.com | http://www.TheSimpleMe.com

On Aug 23, 1:35*am, Steve wrote:
> Hi,
>
> I am running CentOS 5
>
> I've got a computer with 2 Ehternet network card
> I am running 2 applications, which have access to inernet
> Is there a way to dedicate via IPTABLES. :
> - 1 application *-> via Eth0 ?
> - 1 applicaiton -> via Eth1 ?
>
> 2) On Duo core processor
> *can I also dedicate 1 application with 1 core *?
> and the other application with the other code ?
>
> Thanks in advance


Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 01:22 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger