Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Preemption: no go for gamers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
T2
n00b
n00b


Joined: 01 Jun 2002
Posts: 67
Location: Slovenia

PostPosted: Sat Jun 01, 2002 6:25 pm    Post subject: Preemption: no go for gamers Reply with quote

Hi!

First I'd like to say I like gentoo more and more. Yesterday I installed first three stages while playing wolfenstein using chroot magic (No, I don't like official install guide and I don't have PS to play with ;)

One word to gamers: keep away from preemtion and low-latency kernel patches it will ruin your game performance. So go with vanilla (2.4.19pre9 currently); if you disable preemption patch in gentoo kernel sources there are chances build will fail like in my case.

Why am I saying that? With vanilla kernel I can process seti@home data and play wolfenstein over net smoothly (each take 50% on my TB900@980) but with any kernel that has preemption or low latency patch applied, I can hardly move the mouse, game behaves very very choppy and all is stuttering.
While I don't say that system with preemptible kernel isn't more responsive in some cases, however it offers worse real-time performance in hardcore gaming.

I don't have any deep knowledge on kernel schedualing so please correct me if I'm wrong.

regards
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sat Jun 01, 2002 9:04 pm    Post subject: Reply with quote

You had problems with the gentoo sources but you couldn't disable preempt since it caused problems. Vanilla worked fine for you. Did you actually add preempt to vanilla and have it cause the same problems you were having with the gentoo sources?

I'm using a 2.4.19-pre7 with preempt and it's been running great, gaming or otherwise. Preempt has been extremely tested so I'd be surprised to hear about any problems with it.
Back to top
View user's profile Send private message
sibn
n00b
n00b


Joined: 15 May 2002
Posts: 36

PostPosted: Sat Jun 01, 2002 9:19 pm    Post subject: Reply with quote

The last time I ever used preempt, it worked bad, bad magic with a lot of different things (for example, railroad tycoon 2).

It would cause hard system lockups (no ssh to reboot it, even) not five minutes into the game. Although it is entirely possible that this was an issue specific to the kernel version (and preempt version) that I was using at the time.

gentoo-sources-2.4.19* are not compatible with several things I require, so I'm currently using the vanilla 2.4.18 tree. When 2.4.19 is officially available, though, i'll check it out again and see what happens.[/b]
_________________
Hey um, this is my signature.
Back to top
View user's profile Send private message
radfaraf
n00b
n00b


Joined: 25 May 2002
Posts: 55
Location: NJ

PostPosted: Sat Jun 01, 2002 11:04 pm    Post subject: Reply with quote

I use gentoo with preempt and it runs just fine, I run Wolfenstein too and its pretty much windows speed if not faster.
Back to top
View user's profile Send private message
T2
n00b
n00b


Joined: 01 Jun 2002
Posts: 67
Location: Slovenia

PostPosted: Sat Jun 01, 2002 11:33 pm    Post subject: Reply with quote

Oh I forgot to say that I really want seti@home client to run in background. So gentoo-kernel (and all preemptible kernels I've tried like AC, MJ) work fine if I run only one main process (game 8) but when I add seti@home client in background wolfenstein gets "attention" from cpu every half second aprox. I haven't tweaked any process priority, maybe I should. Well with preemptible kernels I get feeling that background processes are stealing more cpu cycles from "focused" application than in vanilla-kernel case.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sun Jun 02, 2002 5:28 am    Post subject: Reply with quote

I run both low latency and preempt all the while playing RTCW, and running a RTCW server, among other running task without any problems. Sorry I would have tried to word that better but one is too tired, oh and I have all that running on a 533mhz box so it must be some strange happening or I'm just lucky.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
felysium
n00b
n00b


Joined: 27 May 2002
Posts: 43
Location: Netherlands

PostPosted: Sun Jun 02, 2002 11:01 am    Post subject: Reply with quote

seti-home is a very very memory intensive program.
for example: when I ran seti@home on a BP6 (2xCeleron 550) there was a huge difference in completion time between 1 process and 2 processes.
With 1 process and only 1 processor being used the completion time was 8 hours. When I ran two processes the completion time was 12 hours. The 2 processes had to deal with the same mem.

BTW why do you want to run seti while playing w3d?
Back to top
View user's profile Send private message
T2
n00b
n00b


Joined: 01 Jun 2002
Posts: 67
Location: Slovenia

PostPosted: Sun Jun 02, 2002 12:54 pm    Post subject: Reply with quote

felysium wrote:
BTW why do you want to run seti while playing w3d?


Well I'm competing with my friend who's gonna process more seti packets :wink: and 50% cpu time of my TB900 provides very decent gameplay anyway.
Back to top
View user's profile Send private message
T2
n00b
n00b


Joined: 01 Jun 2002
Posts: 67
Location: Slovenia

PostPosted: Sun Jun 02, 2002 1:03 pm    Post subject: Reply with quote

Malakin wrote:
You had problems with the gentoo sources but you couldn't disable preempt since it caused problems. Vanilla worked fine for you. Did you actually add preempt to vanilla and have it cause the same problems you were having with the gentoo sources?


I'll try vanilla 2.4.19-preX with preempt patch. Just curious...
Back to top
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Mon Jun 03, 2002 2:12 am    Post subject: Reply with quote

Gentoo source works fine for me. My games all run quite fast.
Back to top
View user's profile Send private message
pavera
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2002
Posts: 84

PostPosted: Mon Jun 03, 2002 5:06 pm    Post subject: nice Reply with quote

I run Seti@home all the time in the background, I have the nice on it turned down to 19 though, so if I'm not running anything else it gets most of the CPU but as soon as I turn on anything else, it drops way off (depending on how much the other process is using), I have low latency and preempt, and everything runs fine.
nice --adjustment=19 ./setiathome -verbose
is the command I use to start setiathome...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum