Jump to content
Sign in to follow this  
oiler

Linux dedik and dual procesors systems

Recommended Posts

Hi

Small question:

Working OFP server (under Linux) on two procesor properly? or it use only one of procesors?

thx for answers

Share this post


Link to post
Share on other sites

I think it only uses one processor. Main code is from game I think and this don't use 2 processors.

Share this post


Link to post
Share on other sites

Hi,

We are currently running OFP server on a dual processor Linux box, and since the last patch, we did not encounter any particular problem.

AFAIK, OFP server is not designed to handle multiprocessor in a particular way, but the code is multithreaded. Linux kernel share the threads of a process among the available processors, so you will see both processors working on OFP process.

Whisper

Share this post


Link to post
Share on other sites

Which looks like this:

edit: picture removed...sorry guys! The login to my site is cookied so I didn't notice confused.gif

I still haven't a clue why and when it's distributed though...It's my first MP system and my first Linux system so...

Sometimes it just jumps from one CPU to the other and back...

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (whisperFFW06 @ Dec. 17 2002,17:30)</td></tr><tr><td id="QUOTE">Hi,

We are currently running OFP server on a dual processor Linux box, and since the last patch, we did not encounter any particular problem.

AFAIK, OFP server is not designed to handle multiprocessor in a particular way, but the code is multithreaded. Linux kernel share the threads of a process among the available processors, so you will see both processors working on OFP process.

Whisper<span id='postcolor'>

you mean - OPF server under linux using both processors on 100% or it's work like one procesor?

Share this post


Link to post
Share on other sites

Shrike,

your picture is in restricted directory and is making us sign in to the website. could you host your picture somewhere else? like Image studio, etc?

thanx in advance xmas.gif

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Oiler @ Dec. 17 2002,21:12)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (whisperFFW06 @ Dec. 17 2002,17:30)</td></tr><tr><td id="QUOTE">Hi,

We are currently running OFP server on a dual processor Linux box, and since the last patch, we did not encounter any particular problem.

AFAIK, OFP server is not designed to handle multiprocessor in a particular way, but the code is multithreaded. Linux kernel share the threads of a process among the available processors, so you will see both processors working on OFP process.

Whisper<span id='postcolor'>

you mean - OPF server under linux using both processors on 100% or it's work like one procesor?<span id='postcolor'>

Didn't get yoour question...

It's not 100% tounge.gif

OFP processes take up to 80-90% of CPU, running sometimes on one processor, sometimes on the other. When 2 ofp threads are running at the same time, each get to one processor. But it happens not that often. There is one thread which runs all the time, and sometime another server process shows up and eat some CPU, then disapear. So it does not really take full advantage of multi processors. The second processor help for very short periods, once or twice in 5 seconds.

Share this post


Link to post
Share on other sites

We have a single P4 2.4 GHz server with 1 GB RAM on OC3. We are running Mandrake Linux and Dedicated server 1.90f. Why do I see that OFP is using nearly 100% of the processor when the game is running? It uses the entire CPU whether the game is running at 50 FPS or 10 FPS. Do we have a setting or tweak wrong? Anything we can do to improve performance? I find it hard to believe the resource hunger of this game...it is unparalleled!!

Rock out.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×