PDA

View Full Version : How can I speed up the web interface?



jonmyatt
2006-02-24, 01:36
Hi all

It takes about 10-15 seconds for the web interface to appear for me. I've switched to MySQL and that didn't make a difference, although searching is now super fast. My server is a fairly new P4 2.4Ghz with 1Gb RAM running Fedora Core4. It doesn't do anything other than run slimserver. I'm using server version 6.2.2-6245 from a few days ago. My music library is pretty small I'd have said - just over 5000 songs.

Looking at the server now, whilst it's streaming music, it's at 98% idle.

Also, if I "browse music folder" the music being played stops momentarily, and the CPU usage shoots up to about 98% busy (slimserver.pl).

What steps should I take to get to the bottom of these two problems? Which debugging flags should I be looking at?

Thanks for any help...

Jon.

mherger
2006-02-24, 02:13
> 1Gb RAM running Fedora Core4. It doesn't do anything other than run
> slimserver. I'm using server version 6.2.2-6245 from a few days ago. My
> music library is pretty small I'd have said - just over 5000 songs.

Disable the library statistics (Server Settings/Performance). This might
speed it up.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

jonmyatt
2006-02-24, 02:58
I've already got that disabled :(

Siduhe
2006-02-24, 03:14
A couple of questions - are you using ITunes at all (either the update plugin or the integrated ITunes features of Slimserver ?

How is your music library set up - networked drive or on the hard drive ?

What browser / what skin ?

Wired or wireless connection for the SB ?

I'm running Slimserver on an [underpowered] 2 year old Buffalo Linkstation with a substantially bigger library and I would say the web interface takes no more than 4/5 seconds to come up on average, so hopefully it will be something that can be tweaked for you.

jonmyatt
2006-02-24, 03:48
Hi, no - I'm not using iTunes.

The music library is on the hard drive on the linux server. It's a (software) RAID1 array.

SB is connected via wireless, but I could connect via a cable for any testing.

Thanks

Jon.

rkeeney
2006-02-24, 15:47
>
Disable the library statistics (Server Settings/Performance). This might speed it up.
Michael


Is this an option in the 6.2.1 server version? If so, I don't see it.

Rob.............

JJZolx
2006-02-24, 16:07
> 1Gb RAM running Fedora Core4. It doesn't do anything other than run
> slimserver. I'm using server version 6.2.2-6245 from a few days ago. My
> music library is pretty small I'd have said - just over 5000 songs.

Disable the library statistics (Server Settings/Performance). This might speed it up.
I recall this being talked about but hadn't noticed that it had been implemented. Nice.

When library statistics are enabled, does _every_ page take this performance hit, or is the information cached somewhere?

Any chance of creating a statistics page in the server settings area, so that library statistics could be disabled, but the information still readily available without having to toggle the setting on and off?

stinkingpig
2006-02-24, 22:23
>
> Hi all
>
> It takes about 10-15 seconds for the web interface to appear for me.
> I've switched to MySQL and that didn't make a difference, although
> searching is now super fast. My server is a fairly new P4 2.4Ghz with
> 1Gb RAM running Fedora Core4. It doesn't do anything other than run
> slimserver. I'm using server version 6.2.2-6245 from a few days ago. My
> music library is pretty small I'd have said - just over 5000 songs.
>
> Looking at the server now, whilst it's streaming music, it's at 98%
> idle.
>
> Also, if I "browse music folder" the music being played stops
> momentarily, and the CPU usage shoots up to about 98% busy
> (slimserver.pl).
>

browse music folder is a lot slower than the other methods. Also, which
skin are you using? If you specify Light or Handheld and Browse New Music,
does that perform well? Is the browser on localhost, or on another
machine?

--
Jack Coates At Monkeynoodle Dot Org: It's A Scientific Venture!
"I spent all me tin with the ladies drinking gin, so across the Western
ocean I must wander" - traditional

mherger
2006-02-25, 09:15
> Is this an option in the 6.2.1 server version? If so, I don't see it.

It's in the 6.2.2 nightly builds. And in Infrant's 6.2.1 - installed on
their ReadyNAS.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

jonmyatt
2006-02-26, 07:47
>[color=blue]
browse music folder is a lot slower than the other methods. Also, which
skin are you using? If you specify Light or Handheld and Browse New Music,
does that perform well? Is the browser on localhost, or on another
machine?


Hi, I was using fishbone. I tried Light and that's a lot better (but I don't like it!).

The browser's on another machine - I've tried a few different PCs around the house and they're all the same.

So why is the fishbone skin so much slower?

Jon.

shaboyi
2006-02-26, 09:05
I have found that the beta 6.5x is much, much faster than 6.2.x and as best
I can tell it is pretty close to being bug free and 'ready' for general
release. I would give that a try. don't know Linux too well,. but on
Windows, I would definately completely remove previous version and
reinstall.

I am using it with Fishbone, about 13K songs on a PIV 2.8 with 512 RAM and
the browse music (artist, album etc) works great.



On 2/26/06, jonmyatt <jonmyatt.23udmb1140966304 (AT) no-mx (DOT) forums.slimdevices.com>
wrote:
>
>
> stinkingpig Wrote:
> > >[color=blue]
> > browse music folder is a lot slower than the other methods. Also,
> > which
> > skin are you using? If you specify Light or Handheld and Browse New
> > Music,
> > does that perform well? Is the browser on localhost, or on another
> > machine?
> >
>
> Hi, I was using fishbone. I tried Light and that's a lot better (but I
> don't like it!).
>
> The browser's on another machine - I've tried a few different PCs
> around the house and they're all the same.
>
> So why is the fishbone skin so much slower?
>
> Jon.
>
>
> --
> jonmyatt
> ------------------------------------------------------------------------
> jonmyatt's Profile: http://forums.slimdevices.com/member.php?userid=4124
> View this thread: http://forums.slimdevices.com/showthread.php?t=21437
>
>

stinkingpig
2006-02-26, 10:48
>
> stinkingpig Wrote:
>> >[color=blue]
>> browse music folder is a lot slower than the other methods. Also,
>> which
>> skin are you using? If you specify Light or Handheld and Browse New
>> Music,
>> does that perform well? Is the browser on localhost, or on another
>> machine?
>>
>
> Hi, I was using fishbone. I tried Light and that's a lot better (but I
> don't like it!).
>
> The browser's on another machine - I've tried a few different PCs
> around the house and they're all the same.
>
> So why is the fishbone skin so much slower?
>
> Jon.

because it's got lots of cool features? From a cursory glance at the
source, it's full of javascript and tables. The 6.5 rewrite is taking
everything to CSS, which is supposed to be faster (but will require a
modern browser).

I've bounced back and forth between Fishbone for stability and ExBrowse3
for speed. I don't like the default layout. Anyway, they're all worth
checking out. Moser for instance should be very fast.

--
Jack Coates At Monkeynoodle Dot Org: It's A Scientific Venture!
"I spent all me tin with the ladies drinking gin, so across the Western
ocean I must wander" - traditional

jonmyatt
2006-02-26, 14:14
Tried 6.5 and it seemed a bit broken, the web display was corrupted. So I've gone back to the 6.2 nightly for now. I'll have a look at some other skins and perhaps try 6.5 again in a while.