PDA

View Full Version : Slim Server saturating CPU



Phillip Kerman
2004-07-04, 11:14
In my case, I can document the CPU usage of slim.exe (5.2) hovers around
100% any time I have iTunes running on my XP box. I have 512RAM.

Thanks,
Phillip



> -----Original Message-----
> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> Achim Reckeweg
> Sent: Sunday, July 04, 2004 10:42 AM
> To: discuss (AT) lists (DOT) slimdevices.com
> Subject: [slim] Slim Server saturating CPU
>
> Hi,
>
> I am new to the list and don't know if this has been
> discussed already.
> I am using the slim server software on Windows 2000.
> Haven't got any problems in the past, but I am ripping more
> and more of
> my CD's and the slim server process gets larger and larger.
> Since 2 weeks it's nearly impossible to use. Every few (10-20
> min) the
> slimp3 player stops, looses the server and the display wents dark.
> This happens because the server process saturates the whole CPU. When
> looking to the task manager the process (which is usually a
> little bit
> below 500 MB)
> wents up to around 620 MB. This seems to take forever :-).
> After peeking
> it drops to the former watermark and the CPU utilization drops
> back to normal figures. The server should have enough memory
> (1.5 GB) ,
> it happens with all versions up to slim server 5.20.
>
> Any hint anybody?
>
> thanks Achim
>
>

dean
2004-07-05, 08:06
Do you happen to have the RealSlim plugin installed? If so, you should
upgrade, there was a problem with it that caused the SlimServer to eat
a lot of CPU power when iTunes was installed.

On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:

> In my case, I can document the CPU usage of slim.exe (5.2) hovers
> around
> 100% any time I have iTunes running on my XP box. I have 512RAM.
>
> Thanks,
> Phillip
>
>
>
>> -----Original Message-----
>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
>> Achim Reckeweg
>> Sent: Sunday, July 04, 2004 10:42 AM
>> To: discuss (AT) lists (DOT) slimdevices.com
>> Subject: [slim] Slim Server saturating CPU
>>
>> Hi,
>>
>> I am new to the list and don't know if this has been
>> discussed already.
>> I am using the slim server software on Windows 2000.
>> Haven't got any problems in the past, but I am ripping more
>> and more of
>> my CD's and the slim server process gets larger and larger.
>> Since 2 weeks it's nearly impossible to use. Every few (10-20
>> min) the
>> slimp3 player stops, looses the server and the display wents dark.
>> This happens because the server process saturates the whole CPU. When
>> looking to the task manager the process (which is usually a
>> little bit
>> below 500 MB)
>> wents up to around 620 MB. This seems to take forever :-).
>> After peeking
>> it drops to the former watermark and the CPU utilization drops
>> back to normal figures. The server should have enough memory
>> (1.5 GB) ,
>> it happens with all versions up to slim server 5.20.
>>
>> Any hint anybody?
>>
>> thanks Achim
>>
>>

Achim Reckeweg
2004-07-06, 04:35
Hi Dean,

no I haven't installed the RealSlim and I don't use iTunes.
I wonder if that might be something like a garbage collection or an mp3
rescan.

thx Achim

dean blackketter wrote:

> Do you happen to have the RealSlim plugin installed? If so, you
> should upgrade, there was a problem with it that caused the SlimServer
> to eat a lot of CPU power when iTunes was installed.
>
> On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
>
>> In my case, I can document the CPU usage of slim.exe (5.2) hovers around
>> 100% any time I have iTunes running on my XP box. I have 512RAM.
>>
>> Thanks,
>> Phillip
>>
>>
>>
>>> -----Original Message-----
>>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
>>> Achim Reckeweg
>>> Sent: Sunday, July 04, 2004 10:42 AM
>>> To: discuss (AT) lists (DOT) slimdevices.com
>>> Subject: [slim] Slim Server saturating CPU
>>>
>>> Hi,
>>>
>>> I am new to the list and don't know if this has been
>>> discussed already.
>>> I am using the slim server software on Windows 2000.
>>> Haven't got any problems in the past, but I am ripping more
>>> and more of
>>> my CD's and the slim server process gets larger and larger.
>>> Since 2 weeks it's nearly impossible to use. Every few (10-20
>>> min) the
>>> slimp3 player stops, looses the server and the display wents dark.
>>> This happens because the server process saturates the whole CPU. When
>>> looking to the task manager the process (which is usually a
>>> little bit
>>> below 500 MB)
>>> wents up to around 620 MB. This seems to take forever :-).
>>> After peeking
>>> it drops to the former watermark and the CPU utilization drops
>>> back to normal figures. The server should have enough memory
>>> (1.5 GB) ,
>>> it happens with all versions up to slim server 5.20.
>>>
>>> Any hint anybody?
>>>
>>> thanks Achim
>>>

dean
2004-07-06, 05:08
Hi Achim,

How big is your library? (i.e. how many songs?)




On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:

> Hi Dean,
>
> no I haven't installed the RealSlim and I don't use iTunes.
> I wonder if that might be something like a garbage collection or an
> mp3 rescan.
>
> thx Achim
>
> dean blackketter wrote:
>
>> Do you happen to have the RealSlim plugin installed? If so, you
>> should upgrade, there was a problem with it that caused the
>> SlimServer to eat a lot of CPU power when iTunes was installed.
>>
>> On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
>>
>>> In my case, I can document the CPU usage of slim.exe (5.2) hovers
>>> around
>>> 100% any time I have iTunes running on my XP box. I have 512RAM.
>>>
>>> Thanks,
>>> Phillip
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>>>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
>>>> Achim Reckeweg
>>>> Sent: Sunday, July 04, 2004 10:42 AM
>>>> To: discuss (AT) lists (DOT) slimdevices.com
>>>> Subject: [slim] Slim Server saturating CPU
>>>>
>>>> Hi,
>>>>
>>>> I am new to the list and don't know if this has been
>>>> discussed already.
>>>> I am using the slim server software on Windows 2000.
>>>> Haven't got any problems in the past, but I am ripping more
>>>> and more of
>>>> my CD's and the slim server process gets larger and larger.
>>>> Since 2 weeks it's nearly impossible to use. Every few (10-20
>>>> min) the
>>>> slimp3 player stops, looses the server and the display wents dark.
>>>> This happens because the server process saturates the whole CPU.
>>>> When
>>>> looking to the task manager the process (which is usually a
>>>> little bit
>>>> below 500 MB)
>>>> wents up to around 620 MB. This seems to take forever :-).
>>>> After peeking
>>>> it drops to the former watermark and the CPU utilization drops
>>>> back to normal figures. The server should have enough memory
>>>> (1.5 GB) ,
>>>> it happens with all versions up to slim server 5.20.
>>>>
>>>> Any hint anybody?
>>>>
>>>> thanks Achim
>>>>
>
>

Achim Reckeweg
2004-07-06, 06:58
Hi Dean,

800 GB or slightly below 110.000 songs

Achim

dean blackketter wrote:

> Hi Achim,
>
> How big is your library? (i.e. how many songs?)
>
>
>
>
> On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
>
>> Hi Dean,
>>
>> no I haven't installed the RealSlim and I don't use iTunes.
>> I wonder if that might be something like a garbage collection or an
>> mp3 rescan.
>>
>> thx Achim
>>
>> dean blackketter wrote:
>>
>>> Do you happen to have the RealSlim plugin installed? If so, you
>>> should upgrade, there was a problem with it that caused the
>>> SlimServer to eat a lot of CPU power when iTunes was installed.
>>>
>>> On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
>>>
>>>> In my case, I can document the CPU usage of slim.exe (5.2) hovers
>>>> around
>>>> 100% any time I have iTunes running on my XP box. I have 512RAM.
>>>>
>>>> Thanks,
>>>> Phillip
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
>>>>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
>>>>> Achim Reckeweg
>>>>> Sent: Sunday, July 04, 2004 10:42 AM
>>>>> To: discuss (AT) lists (DOT) slimdevices.com
>>>>> Subject: [slim] Slim Server saturating CPU
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am new to the list and don't know if this has been
>>>>> discussed already.
>>>>> I am using the slim server software on Windows 2000.
>>>>> Haven't got any problems in the past, but I am ripping more
>>>>> and more of
>>>>> my CD's and the slim server process gets larger and larger.
>>>>> Since 2 weeks it's nearly impossible to use. Every few (10-20
>>>>> min) the
>>>>> slimp3 player stops, looses the server and the display wents dark.
>>>>> This happens because the server process saturates the whole CPU. When
>>>>> looking to the task manager the process (which is usually a
>>>>> little bit
>>>>> below 500 MB)
>>>>> wents up to around 620 MB. This seems to take forever :-).
>>>>> After peeking
>>>>> it drops to the former watermark and the CPU utilization drops
>>>>> back to normal figures. The server should have enough memory
>>>>> (1.5 GB) ,
>>>>> it happens with all versions up to slim server 5.20.
>>>>>
>>>>> Any hint anybody?
>>>>>
>>>>> thanks Achim
>>>>>
>>
>>

Jules Taplin
2004-07-06, 07:43
Whoooo-wie!

That's gotta be the record for any SlimServer library I've ever heard of!

Erm. Slimserver consumes >100Mb with a 20k or so track library for me... you
may well be in swap city with that much metadata to carry around.

-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 2:58 PM
Subject: [slim] Slim Server saturating CPU


> Hi Dean,
>
> 800 GB or slightly below 110.000 songs
>
> Achim
>
> dean blackketter wrote:
>
> > Hi Achim,
> >
> > How big is your library? (i.e. how many songs?)
> >
> >
> >
> >
> > On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >
> >> Hi Dean,
> >>
> >> no I haven't installed the RealSlim and I don't use iTunes.
> >> I wonder if that might be something like a garbage collection or an
> >> mp3 rescan.
> >>
> >> thx Achim
> >>
> >> dean blackketter wrote:
> >>
> >>> Do you happen to have the RealSlim plugin installed? If so, you
> >>> should upgrade, there was a problem with it that caused the
> >>> SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>
> >>> On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>
> >>>> In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>> around
> >>>> 100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>
> >>>> Thanks,
> >>>> Phillip
> >>>>
> >>>>
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>> [mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>> Achim Reckeweg
> >>>>> Sent: Sunday, July 04, 2004 10:42 AM
> >>>>> To: discuss (AT) lists (DOT) slimdevices.com
> >>>>> Subject: [slim] Slim Server saturating CPU
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> I am new to the list and don't know if this has been
> >>>>> discussed already.
> >>>>> I am using the slim server software on Windows 2000.
> >>>>> Haven't got any problems in the past, but I am ripping more
> >>>>> and more of
> >>>>> my CD's and the slim server process gets larger and larger.
> >>>>> Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>> min) the
> >>>>> slimp3 player stops, looses the server and the display wents dark.
> >>>>> This happens because the server process saturates the whole CPU.
When
> >>>>> looking to the task manager the process (which is usually a
> >>>>> little bit
> >>>>> below 500 MB)
> >>>>> wents up to around 620 MB. This seems to take forever :-).
> >>>>> After peeking
> >>>>> it drops to the former watermark and the CPU utilization drops
> >>>>> back to normal figures. The server should have enough memory
> >>>>> (1.5 GB) ,
> >>>>> it happens with all versions up to slim server 5.20.
> >>>>>
> >>>>> Any hint anybody?
> >>>>>
> >>>>> thanks Achim
> >>>>>
> >>
> >>

Achim Reckeweg
2004-07-06, 08:20
Hi Jules,

I was a dj in my former life, so I got lots of CD's :-)
The machine has 1.5GB of memory so I assumed that swapping should be no
issue,
Any hint how to figure what part of the slim server utilizes the CPU so
much -
is it possible to profile a perl application?

Achim

Jules Taplin wrote:

>Whoooo-wie!
>
>That's gotta be the record for any SlimServer library I've ever heard of!
>
>Erm. Slimserver consumes >100Mb with a 20k or so track library for me... you
>may well be in swap city with that much metadata to carry around.
>
>-- Jules
>
>----- Original Message -----
>From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
>To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
>Sent: Tuesday, July 06, 2004 2:58 PM
>Subject: [slim] Slim Server saturating CPU
>
>
>
>
>>Hi Dean,
>>
>>800 GB or slightly below 110.000 songs
>>
>>Achim
>>
>>dean blackketter wrote:
>>
>>
>>
>>>Hi Achim,
>>>
>>>How big is your library? (i.e. how many songs?)
>>>
>>>
>>>
>>>
>>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
>>>
>>>
>>>
>>>>Hi Dean,
>>>>
>>>>no I haven't installed the RealSlim and I don't use iTunes.
>>>>I wonder if that might be something like a garbage collection or an
>>>>mp3 rescan.
>>>>
>>>>thx Achim
>>>>
>>>>dean blackketter wrote:
>>>>
>>>>
>>>>
>>>>>Do you happen to have the RealSlim plugin installed? If so, you
>>>>>should upgrade, there was a problem with it that caused the
>>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
>>>>>
>>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
>>>>>
>>>>>
>>>>>
>>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
>>>>>>around
>>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
>>>>>>
>>>>>>Thanks,
>>>>>>Phillip
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>-----Original Message-----
>>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
>>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
>>>>>>>Achim Reckeweg
>>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
>>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
>>>>>>>Subject: [slim] Slim Server saturating CPU
>>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>I am new to the list and don't know if this has been
>>>>>>>discussed already.
>>>>>>>I am using the slim server software on Windows 2000.
>>>>>>>Haven't got any problems in the past, but I am ripping more
>>>>>>>and more of
>>>>>>>my CD's and the slim server process gets larger and larger.
>>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
>>>>>>>min) the
>>>>>>>slimp3 player stops, looses the server and the display wents dark.
>>>>>>>This happens because the server process saturates the whole CPU.
>>>>>>>
>>>>>>>
>When
>
>
>>>>>>>looking to the task manager the process (which is usually a
>>>>>>>little bit
>>>>>>>below 500 MB)
>>>>>>>wents up to around 620 MB. This seems to take forever :-).
>>>>>>>After peeking
>>>>>>>it drops to the former watermark and the CPU utilization drops
>>>>>>>back to normal figures. The server should have enough memory
>>>>>>>(1.5 GB) ,
>>>>>>>it happens with all versions up to slim server 5.20.
>>>>>>>
>>>>>>>Any hint anybody?
>>>>>>>
>>>>>>>thanks Achim
>>>>>>>
>>>>>>>
>>>>>>>
>>>>__
>>>>

Jack Coates
2004-07-06, 08:48
> Whoooo-wie!
>
> That's gotta be the record for any SlimServer library I've ever heard of!
>
> Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
> you
> may well be in swap city with that much metadata to carry around.
>
> -- Jules
....

may well be, like water may well be wet :) With 5700 tracks I'm using 68M.
--
Jack At Monkeynoodle.Org: It's A Scientific Venture...
"Every gun that is made, every warship launched, every rocket fired,
signifies in the final sense a theft from those who hunger and are not
fed, those who are cold and are not clothed." -- President Dwight D.
Eisenhower, April 16, 1953

Jack Coates
2004-07-06, 08:56
> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,

My grandad had this pithy statement about the word 'assume'.... what else
is running on there? Check perfmon for swap pages i/o.

> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>

Yes, but. First step is to rule out the easy stuff. Check the
slimserver.log for errors, try enabling some of the debug options (d_info
might give a clue). Second step is to download the perl source instead of
the precompiled .exe and run it from the command line. If that isn't
giving you anything, profiling is the next step. Here's an article to get
ya started: http://www.perl.com/pub/a/2004/06/25/profiling.html

--
Jack At Monkeynoodle.Org: It's A Scientific Venture...
"Every gun that is made, every warship launched, every rocket fired,
signifies in the final sense a theft from those who hunger and are not
fed, those who are cold and are not clothed." -- President Dwight D.
Eisenhower, April 16, 1953

Jules Taplin
2004-07-06, 09:09
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:09
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:10
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:10
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:10
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:10
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:10
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:10
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:16
Actually... this is rather an interesting question, to me at least... Has
anybody done any profiling on slimserver's behaviour?

I've had a quick go, with pretty unsatisfactory results:

Devel::Dprof seg-faults (as it's known to do).
Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
the output (and what output I do get is full of garbage characters)
Devel::AutoProfiler might work OK, but given that it tries to hold state in
memory, was at 1GB process size last time I saw it... and has just memory
bombed my linux box :(

So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
don't know any more tools *grin*

Has anybody tried this before, with any measure of success?


-- Jules

----- Original Message -----
From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 4:20 PM
Subject: [slim] Slim Server saturating CPU


> Hi Jules,
>
> I was a dj in my former life, so I got lots of CD's :-)
> The machine has 1.5GB of memory so I assumed that swapping should be no
> issue,
> Any hint how to figure what part of the slim server utilizes the CPU so
> much -
> is it possible to profile a perl application?
>
> Achim
>
> Jules Taplin wrote:
>
> >Whoooo-wie!
> >
> >That's gotta be the record for any SlimServer library I've ever heard of!
> >
> >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
you
> >may well be in swap city with that much metadata to carry around.
> >
> >-- Jules
> >
> >----- Original Message -----
> >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> >Sent: Tuesday, July 06, 2004 2:58 PM
> >Subject: [slim] Slim Server saturating CPU
> >
> >
> >
> >
> >>Hi Dean,
> >>
> >>800 GB or slightly below 110.000 songs
> >>
> >>Achim
> >>
> >>dean blackketter wrote:
> >>
> >>
> >>
> >>>Hi Achim,
> >>>
> >>>How big is your library? (i.e. how many songs?)
> >>>
> >>>
> >>>
> >>>
> >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> >>>
> >>>
> >>>
> >>>>Hi Dean,
> >>>>
> >>>>no I haven't installed the RealSlim and I don't use iTunes.
> >>>>I wonder if that might be something like a garbage collection or an
> >>>>mp3 rescan.
> >>>>
> >>>>thx Achim
> >>>>
> >>>>dean blackketter wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> >>>>>should upgrade, there was a problem with it that caused the
> >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> >>>>>
> >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> >>>>>>around
> >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>Phillip
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>-----Original Message-----
> >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> >>>>>>>Achim Reckeweg
> >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> >>>>>>>Subject: [slim] Slim Server saturating CPU
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>I am new to the list and don't know if this has been
> >>>>>>>discussed already.
> >>>>>>>I am using the slim server software on Windows 2000.
> >>>>>>>Haven't got any problems in the past, but I am ripping more
> >>>>>>>and more of
> >>>>>>>my CD's and the slim server process gets larger and larger.
> >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> >>>>>>>min) the
> >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> >>>>>>>This happens because the server process saturates the whole CPU.
> >>>>>>>
> >>>>>>>
> >When
> >
> >
> >>>>>>>looking to the task manager the process (which is usually a
> >>>>>>>little bit
> >>>>>>>below 500 MB)
> >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> >>>>>>>After peeking
> >>>>>>>it drops to the former watermark and the CPU utilization drops
> >>>>>>>back to normal figures. The server should have enough memory
> >>>>>>>(1.5 GB) ,
> >>>>>>>it happens with all versions up to slim server 5.20.
> >>>>>>>
> >>>>>>>Any hint anybody?
> >>>>>>>
> >>>>>>>thanks Achim
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>__
> >>>>
>
>

Jules Taplin
2004-07-06, 09:41
Arrrgh!

Ok. Sorry 'bout that. Looks like my mail client went on a bit of a
re-sending frenzy. Needless to say... it's stopped now!

-- Jules

----- Original Message -----
From: "Jules Taplin" <slim-discuss (AT) ourhouse (DOT) org.uk>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 5:10 PM
Subject: Profiling Slimserver (Was [slim] Slim Server saturating
CPU)


> Actually... this is rather an interesting question, to me at least... Has
> anybody done any profiling on slimserver's behaviour?
>
> I've had a quick go, with pretty unsatisfactory results:
>
> Devel::Dprof seg-faults (as it's known to do).
> Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
> the output (and what output I do get is full of garbage characters)
> Devel::AutoProfiler might work OK, but given that it tries to hold state
in
> memory, was at 1GB process size last time I saw it... and has just memory
> bombed my linux box :(
>
> So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
> don't know any more tools *grin*
>
> Has anybody tried this before, with any measure of success?
>
>
> -- Jules
>
> ----- Original Message -----
> From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> Sent: Tuesday, July 06, 2004 4:20 PM
> Subject: [slim] Slim Server saturating CPU
>
>
> > Hi Jules,
> >
> > I was a dj in my former life, so I got lots of CD's :-)
> > The machine has 1.5GB of memory so I assumed that swapping should be no
> > issue,
> > Any hint how to figure what part of the slim server utilizes the CPU so
> > much -
> > is it possible to profile a perl application?
> >
> > Achim
> >
> > Jules Taplin wrote:
> >
> > >Whoooo-wie!
> > >
> > >That's gotta be the record for any SlimServer library I've ever heard
of!
> > >
> > >Erm. Slimserver consumes >100Mb with a 20k or so track library for
me...
> you
> > >may well be in swap city with that much metadata to carry around.
> > >
> > >-- Jules
> > >
> > >----- Original Message -----
> > >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> > >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> > >Sent: Tuesday, July 06, 2004 2:58 PM
> > >Subject: [slim] Slim Server saturating CPU
> > >
> > >
> > >
> > >
> > >>Hi Dean,
> > >>
> > >>800 GB or slightly below 110.000 songs
> > >>
> > >>Achim
> > >>
> > >>dean blackketter wrote:
> > >>
> > >>
> > >>
> > >>>Hi Achim,
> > >>>
> > >>>How big is your library? (i.e. how many songs?)
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> > >>>
> > >>>
> > >>>
> > >>>>Hi Dean,
> > >>>>
> > >>>>no I haven't installed the RealSlim and I don't use iTunes.
> > >>>>I wonder if that might be something like a garbage collection or an
> > >>>>mp3 rescan.
> > >>>>
> > >>>>thx Achim
> > >>>>
> > >>>>dean blackketter wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> > >>>>>should upgrade, there was a problem with it that caused the
> > >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> > >>>>>
> > >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> > >>>>>>around
> > >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> > >>>>>>
> > >>>>>>Thanks,
> > >>>>>>Phillip
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>>-----Original Message-----
> > >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> > >>>>>>>Achim Reckeweg
> > >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> > >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> > >>>>>>>Subject: [slim] Slim Server saturating CPU
> > >>>>>>>
> > >>>>>>>Hi,
> > >>>>>>>
> > >>>>>>>I am new to the list and don't know if this has been
> > >>>>>>>discussed already.
> > >>>>>>>I am using the slim server software on Windows 2000.
> > >>>>>>>Haven't got any problems in the past, but I am ripping more
> > >>>>>>>and more of
> > >>>>>>>my CD's and the slim server process gets larger and larger.
> > >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> > >>>>>>>min) the
> > >>>>>>>slimp3 player stops, looses the server and the display wents
dark.
> > >>>>>>>This happens because the server process saturates the whole CPU.
> > >>>>>>>
> > >>>>>>>
> > >When
> > >
> > >
> > >>>>>>>looking to the task manager the process (which is usually a
> > >>>>>>>little bit
> > >>>>>>>below 500 MB)
> > >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> > >>>>>>>After peeking
> > >>>>>>>it drops to the former watermark and the CPU utilization drops
> > >>>>>>>back to normal figures. The server should have enough memory
> > >>>>>>>(1.5 GB) ,
> > >>>>>>>it happens with all versions up to slim server 5.20.
> > >>>>>>>
> > >>>>>>>Any hint anybody?
> > >>>>>>>
> > >>>>>>>thanks Achim
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>__
> > >>>>
> >
> >

kdf
2004-07-06, 09:42
I've used "perl -d:DProf slimserver.pl" a few times to test subroutine timings.
Following it with various incarnations of dprofpp always worked fine for me.
It takes a bit more fussing to get the right output under windows and
ActivePerl, but its worked eventually. I haven't experienced any segfaults
-kdf
Quoting Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk>:

> Actually... this is rather an interesting question, to me at least... Has
> anybody done any profiling on slimserver's behaviour?
>
> I've had a quick go, with pretty unsatisfactory results:
>
> Devel::Dprof seg-faults (as it's known to do).
> Devel::Profiler runs OK, but then dprofpp segfaults when I try to analyse
> the output (and what output I do get is full of garbage characters)
> Devel::AutoProfiler might work OK, but given that it tries to hold state in
> memory, was at 1GB process size last time I saw it... and has just memory
> bombed my linux box :(
>
> So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
> don't know any more tools *grin*
>
> Has anybody tried this before, with any measure of success?
>
>
> -- Jules
>
> ----- Original Message -----
> From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> Sent: Tuesday, July 06, 2004 4:20 PM
> Subject: [slim] Slim Server saturating CPU
>
>
> > Hi Jules,
> >
> > I was a dj in my former life, so I got lots of CD's :-)
> > The machine has 1.5GB of memory so I assumed that swapping should be no
> > issue,
> > Any hint how to figure what part of the slim server utilizes the CPU so
> > much -
> > is it possible to profile a perl application?
> >
> > Achim
> >
> > Jules Taplin wrote:
> >
> > >Whoooo-wie!
> > >
> > >That's gotta be the record for any SlimServer library I've ever heard of!
> > >
> > >Erm. Slimserver consumes >100Mb with a 20k or so track library for me...
> you
> > >may well be in swap city with that much metadata to carry around.
> > >
> > >-- Jules
> > >
> > >----- Original Message -----
> > >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> > >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> > >Sent: Tuesday, July 06, 2004 2:58 PM
> > >Subject: [slim] Slim Server saturating CPU
> > >
> > >
> > >
> > >
> > >>Hi Dean,
> > >>
> > >>800 GB or slightly below 110.000 songs
> > >>
> > >>Achim
> > >>
> > >>dean blackketter wrote:
> > >>
> > >>
> > >>
> > >>>Hi Achim,
> > >>>
> > >>>How big is your library? (i.e. how many songs?)
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> > >>>
> > >>>
> > >>>
> > >>>>Hi Dean,
> > >>>>
> > >>>>no I haven't installed the RealSlim and I don't use iTunes.
> > >>>>I wonder if that might be something like a garbage collection or an
> > >>>>mp3 rescan.
> > >>>>
> > >>>>thx Achim
> > >>>>
> > >>>>dean blackketter wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> > >>>>>should upgrade, there was a problem with it that caused the
> > >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> > >>>>>
> > >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>>In my case, I can document the CPU usage of slim.exe (5.2) hovers
> > >>>>>>around
> > >>>>>>100% any time I have iTunes running on my XP box. I have 512RAM.
> > >>>>>>
> > >>>>>>Thanks,
> > >>>>>>Phillip
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>>-----Original Message-----
> > >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> > >>>>>>>Achim Reckeweg
> > >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> > >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> > >>>>>>>Subject: [slim] Slim Server saturating CPU
> > >>>>>>>
> > >>>>>>>Hi,
> > >>>>>>>
> > >>>>>>>I am new to the list and don't know if this has been
> > >>>>>>>discussed already.
> > >>>>>>>I am using the slim server software on Windows 2000.
> > >>>>>>>Haven't got any problems in the past, but I am ripping more
> > >>>>>>>and more of
> > >>>>>>>my CD's and the slim server process gets larger and larger.
> > >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> > >>>>>>>min) the
> > >>>>>>>slimp3 player stops, looses the server and the display wents dark.
> > >>>>>>>This happens because the server process saturates the whole CPU.
> > >>>>>>>
> > >>>>>>>
> > >When
> > >
> > >
> > >>>>>>>looking to the task manager the process (which is usually a
> > >>>>>>>little bit
> > >>>>>>>below 500 MB)
> > >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> > >>>>>>>After peeking
> > >>>>>>>it drops to the former watermark and the CPU utilization drops
> > >>>>>>>back to normal figures. The server should have enough memory
> > >>>>>>>(1.5 GB) ,
> > >>>>>>>it happens with all versions up to slim server 5.20.
> > >>>>>>>
> > >>>>>>>Any hint anybody?
> > >>>>>>>
> > >>>>>>>thanks Achim
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>__
> > >>>>
> >
> >

Jules Taplin
2004-07-06, 10:30
Hmmm. Ok.

-d:DProf segfaults immediately for me.

Interestingly... that appears to be expected behaviour for modern-ish perl,
from what I can tell.

(Quote:
a.. The other problem you might face is that Devel::DProf, being somewhat
venerable, occasionally has problems keeping up on certain recent Perls,
(particularly the 5.6.x series) and may end up segfaulting all over the
place. If this affects you, download the Devel::Profiler module from CPAN,
which is a pure-Perl replacement for it.

I'm running Linux, RH9, standard distro perl.

Oh well. No the end of the world for me. But somewhat annoying. Now I know I
can't get it to profile, I can't help but think there's an obvious
performance problem with slimserver lurking just below the surface, that I
could otherwise find and fix *grin*


-- Jules

----- Original Message -----
From: "kdf" <slim-mail (AT) deane-freeman (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 5:42 PM
Subject: Profiling Slimserver (Was [slim] Slim Server saturating
CPU)


> I've used "perl -d:DProf slimserver.pl" a few times to test subroutine
timings.
> Following it with various incarnations of dprofpp always worked fine for
me.
> It takes a bit more fussing to get the right output under windows and
> ActivePerl, but its worked eventually. I haven't experienced any segfaults
> -kdf
> Quoting Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk>:
>
> > Actually... this is rather an interesting question, to me at least...
Has
> > anybody done any profiling on slimserver's behaviour?
> >
> > I've had a quick go, with pretty unsatisfactory results:
> >
> > Devel::Dprof seg-faults (as it's known to do).
> > Devel::Profiler runs OK, but then dprofpp segfaults when I try to
analyse
> > the output (and what output I do get is full of garbage characters)
> > Devel::AutoProfiler might work OK, but given that it tries to hold state
in
> > memory, was at 1GB process size last time I saw it... and has just
memory
> > bombed my linux box :(
> >
> > So... I'm out of ideas. There may be 'More Than One Way To Do It', but I
> > don't know any more tools *grin*
> >
> > Has anybody tried this before, with any measure of success?
> >
> >
> > -- Jules
> >
> > ----- Original Message -----
> > From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> > To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> > Sent: Tuesday, July 06, 2004 4:20 PM
> > Subject: [slim] Slim Server saturating CPU
> >
> >
> > > Hi Jules,
> > >
> > > I was a dj in my former life, so I got lots of CD's :-)
> > > The machine has 1.5GB of memory so I assumed that swapping should be
no
> > > issue,
> > > Any hint how to figure what part of the slim server utilizes the CPU
so
> > > much -
> > > is it possible to profile a perl application?
> > >
> > > Achim
> > >
> > > Jules Taplin wrote:
> > >
> > > >Whoooo-wie!
> > > >
> > > >That's gotta be the record for any SlimServer library I've ever heard
of!
> > > >
> > > >Erm. Slimserver consumes >100Mb with a 20k or so track library for
me...
> > you
> > > >may well be in swap city with that much metadata to carry around.
> > > >
> > > >-- Jules
> > > >
> > > >----- Original Message -----
> > > >From: "Achim Reckeweg" <Achim.Reckeweg (AT) Sun (DOT) COM>
> > > >To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
> > > >Sent: Tuesday, July 06, 2004 2:58 PM
> > > >Subject: [slim] Slim Server saturating CPU
> > > >
> > > >
> > > >
> > > >
> > > >>Hi Dean,
> > > >>
> > > >>800 GB or slightly below 110.000 songs
> > > >>
> > > >>Achim
> > > >>
> > > >>dean blackketter wrote:
> > > >>
> > > >>
> > > >>
> > > >>>Hi Achim,
> > > >>>
> > > >>>How big is your library? (i.e. how many songs?)
> > > >>>
> > > >>>
> > > >>>
> > > >>>
> > > >>>On Jul 6, 2004, at 7:35 AM, Achim Reckeweg wrote:
> > > >>>
> > > >>>
> > > >>>
> > > >>>>Hi Dean,
> > > >>>>
> > > >>>>no I haven't installed the RealSlim and I don't use iTunes.
> > > >>>>I wonder if that might be something like a garbage collection or
an
> > > >>>>mp3 rescan.
> > > >>>>
> > > >>>>thx Achim
> > > >>>>
> > > >>>>dean blackketter wrote:
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>>>Do you happen to have the RealSlim plugin installed? If so, you
> > > >>>>>should upgrade, there was a problem with it that caused the
> > > >>>>>SlimServer to eat a lot of CPU power when iTunes was installed.
> > > >>>>>
> > > >>>>>On Jul 4, 2004, at 2:14 PM, Phillip Kerman wrote:
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>>>In my case, I can document the CPU usage of slim.exe (5.2)
hovers
> > > >>>>>>around
> > > >>>>>>100% any time I have iTunes running on my XP box. I have
512RAM.
> > > >>>>>>
> > > >>>>>>Thanks,
> > > >>>>>>Phillip
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>
> > > >>>>>>>-----Original Message-----
> > > >>>>>>>From: discuss-bounces (AT) lists (DOT) slimdevices.com
> > > >>>>>>>[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of
> > > >>>>>>>Achim Reckeweg
> > > >>>>>>>Sent: Sunday, July 04, 2004 10:42 AM
> > > >>>>>>>To: discuss (AT) lists (DOT) slimdevices.com
> > > >>>>>>>Subject: [slim] Slim Server saturating CPU
> > > >>>>>>>
> > > >>>>>>>Hi,
> > > >>>>>>>
> > > >>>>>>>I am new to the list and don't know if this has been
> > > >>>>>>>discussed already.
> > > >>>>>>>I am using the slim server software on Windows 2000.
> > > >>>>>>>Haven't got any problems in the past, but I am ripping more
> > > >>>>>>>and more of
> > > >>>>>>>my CD's and the slim server process gets larger and larger.
> > > >>>>>>>Since 2 weeks it's nearly impossible to use. Every few (10-20
> > > >>>>>>>min) the
> > > >>>>>>>slimp3 player stops, looses the server and the display wents
dark.
> > > >>>>>>>This happens because the server process saturates the whole
CPU.
> > > >>>>>>>
> > > >>>>>>>
> > > >When
> > > >
> > > >
> > > >>>>>>>looking to the task manager the process (which is usually a
> > > >>>>>>>little bit
> > > >>>>>>>below 500 MB)
> > > >>>>>>>wents up to around 620 MB. This seems to take forever :-).
> > > >>>>>>>After peeking
> > > >>>>>>>it drops to the former watermark and the CPU utilization drops
> > > >>>>>>>back to normal figures. The server should have enough memory
> > > >>>>>>>(1.5 GB) ,
> > > >>>>>>>it happens with all versions up to slim server 5.20.
> > > >>>>>>>
> > > >>>>>>>Any hint anybody?
> > > >>>>>>>
> > > >>>>>>>thanks Achim
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>__
> > > >>>>
> > >
> > >

Dan Sully
2004-07-06, 10:46
* Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk> shaped the electrons to say...

>-d:DProf segfaults immediately for me.
>
>Interestingly... that appears to be expected behaviour for modern-ish perl,
>from what I can tell.
>
>(Quote:
>a.. The other problem you might face is that Devel::DProf, being somewhat
>venerable, occasionally has problems keeping up on certain recent Perls,
>(particularly the 5.6.x series) and may end up segfaulting all over the
>place. If this affects you, download the Devel::Profiler module from CPAN,
>which is a pure-Perl replacement for it.

Try using the newer Devel::Profile instead.

-D
--
<gldnmean> Being around marketing could be interesting, if they're released
into a death trap filled labyrinth while you hunt them for sport

kdf
2004-07-06, 10:47
Quoting Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk>:

> Hmmm. Ok.
>
> -d:DProf segfaults immediately for me.
>
> Interestingly... that appears to be expected behaviour for modern-ish perl,
> from what I can tell.

odd. I'm using Mandrake 9.2, with Perl 5.8.1

There are some broken bits in Redhat, however. Time::HiRes for example. You may
have more luck with a full perl install from Perl.org instead of what redhat
includes.

-kdf

Jules Taplin
2004-07-06, 11:18
Hmm. Curious.

Oh well. I'm on perl 5.8.0 - and it's not the end of the world - I was just
interested in where SlimServer spends all it's time - it's a bit of a
behemouth ;)

If I can be bothered... I've got a FC2 install around here somewhere. Maybe
that will do better ;)


-- Jules
----- Original Message -----
From: "kdf" <slim-mail (AT) deane-freeman (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 6:47 PM
Subject: Profiling Slimserver (Was [slim] Slim Server saturating
CPU)


> Quoting Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk>:
>
> > Hmmm. Ok.
> >
> > -d:DProf segfaults immediately for me.
> >
> > Interestingly... that appears to be expected behaviour for modern-ish
perl,
> > from what I can tell.
>
> odd. I'm using Mandrake 9.2, with Perl 5.8.1
>
> There are some broken bits in Redhat, however. Time::HiRes for example.
You may
> have more luck with a full perl install from Perl.org instead of what
redhat
> includes.
>
> -kdf
>

Jules Taplin
2004-07-06, 11:21
Hehe.

Tried that, Dan. I get garbage output (and random segfaults) out of dprofpp,
then.

I think I'm just cursed. Looks like I'll have to leave profiling to somebody
else *grin*


-- Jules


----- Original Message -----
From: "Dan Sully" <daniel (AT) electricrain (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 6:46 PM
Subject: Profiling Slimserver (Was [slim] Slim Server saturating
CPU)


> * Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk> shaped the electrons to
say...
>
> >-d:DProf segfaults immediately for me.
> >
> >Interestingly... that appears to be expected behaviour for modern-ish
perl,
> >from what I can tell.
> >
> >(Quote:
> >a.. The other problem you might face is that Devel::DProf, being somewhat
> >venerable, occasionally has problems keeping up on certain recent Perls,
> >(particularly the 5.6.x series) and may end up segfaulting all over the
> >place. If this affects you, download the Devel::Profiler module from
CPAN,
> >which is a pure-Perl replacement for it.
>
> Try using the newer Devel::Profile instead.
>
> -D
> --
> <gldnmean> Being around marketing could be interesting, if they're
released
> into a death trap filled labyrinth while you hunt them for sport
>

kdf
2004-07-06, 13:56
From what I have just looked up, I dont think you are suposed to use dprofpp
with -d:Profile. I tried it out, and the prof.out file is a text output of the
subroutine times. Easy peasy :)
-kdf

Quoting Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk>:

> Hehe.
>
> Tried that, Dan. I get garbage output (and random segfaults) out of dprofpp,
> then.
>
> I think I'm just cursed. Looks like I'll have to leave profiling to somebody
> else *grin*
>
>
> -- Jules
>
>
> ----- Original Message -----
> From: "Dan Sully" <daniel at electricrain.com>
> To: "Slim Devices Discussion" <discuss at lists.slimdevices.com>
> Sent: Tuesday, July 06, 2004 6:46 PM
> Subject: Profiling Slimserver (Was [slim] Slim Server saturating
> CPU)


> * Jules Taplin <slim-discuss at ourhouse.org.uk> shaped the electrons to
say...
>
> >-d:DProf segfaults immediately for me.
> >
> >Interestingly... that appears to be expected behaviour for modern-ish
perl,
> >from what I can tell.
> >
> >(Quote:
> >a.. The other problem you might face is that Devel::DProf, being somewhat
> >venerable, occasionally has problems keeping up on certain recent Perls,
> >(particularly the 5.6.x series) and may end up segfaulting all over the
> >place. If this affects you, download the Devel::Profiler module from
CPAN,
> >which is a pure-Perl replacement for it.
>
> Try using the newer Devel::Profile instead.
>
> -D
> --
> <gldnmean> Being around marketing could be interesting, if they're
released
> into a death trap filled labyrinth while you hunt them for sport
>

Jules Taplin
2004-07-06, 16:05
Ok. I'm bleeding lost now.

Devel::DProf, Devel::Profile, Devel::Profiler (which is the one I was
thinking of), and Devel::AutoProfiler.

With the exception of Devel::Profile, which I haven't tried yet, none of
them like me. ;)

Not to worry. The moment's passed. And I'm sure my machine won't have minded
an impromptu reboot ;)


-- Jules

----- Original Message -----
From: "kdf" <slim-mail (AT) deane-freeman (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, July 06, 2004 9:56 PM
Subject: Profiling Slimserver (Was [slim] Slim Server saturating
CPU)


> >From what I have just looked up, I dont think you are suposed to use
dprofpp
> with -d:Profile. I tried it out, and the prof.out file is a text output
of the
> subroutine times. Easy peasy :)
> -kdf
>
> Quoting Jules Taplin <slim-discuss (AT) ourhouse (DOT) org.uk>:
>
> > Hehe.
> >
> > Tried that, Dan. I get garbage output (and random segfaults) out of
dprofpp,
> > then.
> >
> > I think I'm just cursed. Looks like I'll have to leave profiling to
somebody
> > else *grin*
> >
> >
> > -- Jules
> >
> >
> > ----- Original Message -----
> > From: "Dan Sully" <daniel at electricrain.com>
> > To: "Slim Devices Discussion" <discuss at lists.slimdevices.com>
> > Sent: Tuesday, July 06, 2004 6:46 PM
> > Subject: Profiling Slimserver (Was [slim] Slim Server saturating
> > CPU)
>
>
> > * Jules Taplin <slim-discuss at ourhouse.org.uk> shaped the electrons to
> say...
> >
> > >-d:DProf segfaults immediately for me.
> > >
> > >Interestingly... that appears to be expected behaviour for modern-ish
> perl,
> > >from what I can tell.
> > >
> > >(Quote:
> > >a.. The other problem you might face is that Devel::DProf, being
somewhat
> > >venerable, occasionally has problems keeping up on certain recent
Perls,
> > >(particularly the 5.6.x series) and may end up segfaulting all over the
> > >place. If this affects you, download the Devel::Profiler module from
> CPAN,
> > >which is a pure-Perl replacement for it.
> >
> > Try using the newer Devel::Profile instead.
> >
> > -D
> > --
> > <gldnmean> Being around marketing could be interesting, if they're
> released
> > into a death trap filled labyrinth while you hunt them for sport
> >