PDA

View Full Version : using nice to lower cpu usage



Jason
2004-12-30, 11:56
I believe there is a way to disable it... You will want to search the
archives for some discussions around performance and rescanning.

> -----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 11:44 AM
> To: Slim Devices Discussion
> Subject: [slim] using nice to lower cpu usage
>
> 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>
>
>

Torgeir Veimo
2005-01-02, 14:58
On Thu, 2004-12-30 at 11:56 -0700, Jason wrote:
> I believe there is a way to disable it... You will want to search the
> archives for some discussions around performance and rescanning.
>
> > -----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 11:44 AM
> > To: Slim Devices Discussion
> > Subject: [slim] using nice to lower cpu usage
> >
> > 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?

It seems that no one of the other services running on the box causes
such problems. Can it be that slimserver does any sync write disc
accesses that disables interrupts or proper scheduling in some way?


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