PDA

View Full Version : using nice to lower cpu usage



Jason
2004-12-30, 11:04
The Slim server should not run continuously at high CPU. It might spike the
CPU for certain periods of time when it is rescanning the library.

Hopefully 6.0 Slimserver addresses some of these performance issues. Once
the database is scanned in it should not require a lot of CPU work to keep
it up to date or to access the information in it (depending of course on the
size of your library).

> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> Torgeir Veimo
> Sent: Thursday, December 30, 2004 10:35 AM
> To: discuss (AT) lists (DOT) slimdevices.com
> Subject: [slim] using nice to lower cpu usage
>
> I've discovered that the problems I had with judder on my
> HTPC machine when doing video playback was being caused by
> slimserver. Stopping the slimserver daemon removes all judder
> on my machine.
>
> What is the slimserver process doing hogging the cpu like
> that when I'm not playing any music?
>
> Is it possible to run the server with a higher nice level in
> order to reduce cpu usage? My HTPC box runs fedora core 3
> with custom kernel.
>
> --
> Torgeir Veimo <torgeir (AT) pobox (DOT) com>
>
>

Torgeir Veimo
2004-12-30, 11:43
On Thu, 2004-12-30 at 11:04 -0700, Jason wrote:
> The Slim server should not run continuously at high CPU. It might spike the
> CPU for certain periods of time when it is rescanning the library.

Can I turn this off?

I see cpu usage go to about 4-5% (athlon xp 2500+), about once every
minute or even more often. Is it checking for changes in the filesystem?

--
Torgeir Veimo <torgeir (AT) pobox (DOT) com>