Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2007 11:23:50 +0300
From:      Niki Denev <nike_d@cytexbg.com>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        freebsd-arch@freebsd.org, Ivan Voras <ivoras@geri.cc.fer.hr>
Subject:   Re: On schedulers
Message-ID:  <46B82C16.8040106@cytexbg.com>
In-Reply-To: <20070806161140.K561@10.0.0.1>
References:  <f8o49l$sd1$1@sea.gmane.org> <46B1C69D.6070503@cytexbg.com>	<20070802181239.O561@10.0.0.1> <20070803034628.U561@10.0.0.1>	<20070805204321.H43187@geri.cc.fer.hr> <20070806161140.K561@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Roberson wrote:
> Yes, I'd be interested in seeing an apples to apples comparison with
> quake.  Although I don't know how our hardware 3d support compares to
> Linux.  I have done some comparisons myself.  For example; running a
> -j32 compile while watching a movie and using a webbrowser on a single
> processor laptop yields no lag in the movie or browser for me with ULE.
> With linux I find the system mostly unusable.  This is completely
> unscientific however.
> 
> Thanks,
> Jeff

I did a quick test using the linux-quake3-demo port,
on the same c2d machine with SMP and ULE enabled kernel.
I've run the demo001.dem demo file three times in a row, with
timedemo option set to 1, and calculated the averages.
Here are the results:

SMP kernel with SCHED_ULE
0 idle processes : 335 fps
1 idle process   : 335 fps
2 idle processes : 293 fps
3 idle processes : 295 fps
4 idle processes : 250 fps
5 idle processes : 200 fps
6 idle processes : 142 fps

Overall, it looks pretty impressive to me.
I've yet had to rerun the tests including 4BSD and UP kernels,
and more clean environment (no unrelated background activity/processes).

One thing that i did notice was that above 2 background processes
there was noticeable choppyness of the intro movie of the game,
and the levels did load much slower, but i attribute this to
the scheduler considering the task as non-interactive during this time.

It is also strange that with 3 background processes the game
reported better fps than with 2, but the difference is too small to
mean anything.

P.S.: I've wanted to test the game with software 3d rendering, but
it seems that it is not available. Maybe i'll test with quake1 and
quake2 ports because afaik they have such mode.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuCwWHNAJ/fLbfrkRAt9eAJ9q4g6zMRxcCJO3l/zPuqiLlvyx1wCgxYM6
9a2lXCwoUjfT0uCJ0Ew6ROs=
=45JC
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B82C16.8040106>