| Unix Content | Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| 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 |
|
#2
|
| 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 |
|
#3
|
| 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 > 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 |