I have a windows application that can listens on an IP address for batch data to process. The application works under WINE. The application does not take advantage of multiple cores of the CPU. I want to configure the Linux PC to listen on four IP addresses (which I know how to do), and then run an instance of the wine app for each IP address. In this way, I can take full advantage of a quad-core CPU.
Does anyone have suggestions/pointers on how to proceed?
Thanks!
How to run mulitple instances of app, each for unique IP?
How to run mulitple instances of app, each for unique IP?
On Wed, Jul 29, 2009 at 2:10 PM, maxxjr<[email protected]> wrote:
wine? I mean usually an application will have some configuration on
what ip address it listens to not the os controlling what ip address.
John
Wouldn't this be a question for the application's support and notI have a windows application that can listens on an IP address for batch data to process. The application works under WINE. The application does not take advantage of multiple cores of the CPU. I want to configure the Linux PC to listen on four IP addresses (which I know how to do), and then run an instance of the wine app for each IP address. In this way, I can take full advantage of a quad-core CPU.
Does anyone have suggestions/pointers on how to proceed?
wine? I mean usually an application will have some configuration on
what ip address it listens to not the os controlling what ip address.
John
How to run mulitple instances of app, each for unique IP?
On Wed, Jul 29, 2009 at 1:10 PM, maxxjr<[email protected]> wrote:
--
-Austin
Use separate WINEPREFIX's.I have a windows application that can listens on an IP address for batch data to process. Â The application works under WINE. Â The application does not take advantage of multiple cores of the CPU. Â I want to configure the Linux PC to listen on four IP addresses (which I know how to do), and then run an instance of the wine app for each IP address. Â In this way, I can take full advantage of a quad-core CPU.
Does anyone have suggestions/pointers on how to proceed?
--
-Austin
Re: How to run mulitple instances of app, each for unique IP
When I start the application up under wine, it pulls the IP address it listens on automatically from somewhere. When I first tried it, it pulled up a 127.1.0.1 type address, since this is what was in my /etc/hosts file for my hostname. Which I changed the hosts file so that the hostname was associated with the network IP 192.168.1.x, the application pulled this new IP address up.John Drescher wrote:On Wed, Jul 29, 2009 at 2:10 PM, maxxjr<[email protected]> wrote:
Wouldn't this be a question for the application's support and not
wine? I mean usually an application will have some configuration on
what ip address it listens to not the os controlling what ip address.
John
Re: How to run mulitple instances of app, each for unique IP
Hi Austin,austin987 wrote:On Wed, Jul 29, 2009 at 1:10 PM, maxxjr<[email protected]> wrote:
Use separate WINEPREFIX's.
--
-Austin
I did a quick read on WINEPREFIX's, and I don't think this will do it. As far as the application goes, it will look like it is running on different PCs. But when it goes to pull the IP address from the host, I think I need something else to tell it to use eth1 vs. eth0, as an example. Otherwise, all instances will pull the default eth0 address.
The WINEPREFIX is probably very necessary to keep each instance of the app from overwriting work data, etc. of other instances, so I think this does get me past an issue I had not realized was coming, yet.
Thanks!
How to run mulitple instances of app, each for unique IP?
On Wed, Jul 29, 2009 at 2:30 PM, maxxjr<[email protected]> wrote:
check to see if it creates a registry entry. Once you get that solved
use Austin's advice about prefixes.
John
So there is no way to set this in the application. You may want toJohn Drescher wrote:When I start the application up under wine, it pulls the IP address it listens on automatically from somewhere. When I first tried it, it pulled up a 127.1.0.1 type address, since this is what was in my /etc/hosts file for my hostname. Which I changed the hosts file so that the hostname was associated with the network IP 192.168.1.x, the application pulled this new IP address up.On Wed, Jul 29, 2009 at 2:10 PM, maxxjr<[email protected]> wrote:
Wouldn't this be a question for the application's support and not
wine? I mean usually an application will have some configuration on
what ip address it listens to not the os controlling what ip address.
John
check to see if it creates a registry entry. Once you get that solved
use Austin's advice about prefixes.
John