POV-Ray : Newsgroups : povray.unix : how can i run povray on a dual-core? : Re: how can i run povray on a dual-core? Server Time
2 Jun 2024 02:36:50 EDT (-0400)
  Re: how can i run povray on a dual-core?  
From: Nicolas Calimet
Date: 14 Aug 2006 08:39:05
Message: <44e06ee9@news.povray.org>
> So the "top" command shows only the capacity of the User-Bandwith....not
> the absolute CPU usage.

	IIRC the 'top' utility reads the /proc filesystem: it should thus give the
exact same stats whether you are root or a non-privileged user.  (Otherwise, top
would be able to report only the current user's jobs, not all jobs.)
	So I guess your claim is not true.  I'd appreciate if you have pointers
to prove me wrong.

> You can verify this very simple. Go to the "root-mode" and start
> provray with the highest possible "nice value" of the privileged mode.
> In this mode povray gets *much more* CPU-power than a normal user can
> ever get....

	Could you please backup this second claim with numbers?

	On my monocore machine (AMD Athlon XP), running POV-Ray 3.6.1(a) or 3.7.0.beta.14(b)
as root on a few scenes(c) with either default scheduling priority (nice 0) or highest
priority (-20) and no other cpu-demanding job running, I hardly get one second
speedup.

	So with those limited tests I do *not* observe what you claim above.

	- NC


(a) unofficial build prepared with icc 8.1.
(b) the binary is compiled with icc 9.1; tested using 1 or 2 render threads, see
below.
(c) scenes/advanced/mediasky.pov and grenadine.pov; more are being tested, but the
result
should not depend on the scenes nor the binaries.

===== mediasky.pov

*** 3.7.0.beta14

2 threads,   0:  115.803u 0.012s 1:56.13 99.7%   0+0k 0+0io 0pf+0w
2 threads, -20:  115.091u 0.028s 1:55.36 99.7%   0+0k 0+0io 0pf+0w

1 thread,    0:  115.703u 0.000s 1:56.03 99.7%   0+0k 0+0io 0pf+0w
1 thread,  -20:  115.107u 0.004s 1:55.34 99.7%   0+0k 0+0io 0pf+0w

*** 3.6.1

   0:  118.947u 0.028s 1:59.10 99.8%   0+0k 0+0io 0pf+0w
-20:  118.023u 0.008s 1:58.06 99.9%   0+0k 0+0io 0pf+0w

===== grenadine.pov

*** 3.7.0.beta14

1 thread,    0:   60.591u 0.056s 1:01.06 99.3%    0+0k 0+0io 0pf+0w
1 thread,  -20:   59.947u 0.036s 1:00.24 99.5%    0+0k 0+0io 0pf+0w


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.