Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Speed issues


Reply

26 Posts   9949 Views

Avatar
marikas

12 December 2007 at 4:01pm Community Member, 24 Posts

pity i don't think there are any accelerators that play nice with phpSUexec :(

Avatar
Fuzz10

12 December 2007 at 10:58pm Community Member, 787 Posts

Thanks for you tip. I took it to heart and just installed XCache on our development server.

It makes stuff a _whole_ lot faster indeed !

Avatar
olafmol

7 September 2008 at 10:29pm Community Member, 10 Posts

i've been looking into SS performance too, and SS still seems kind of slow sometimes? Especially in the demo website the blog page comes up really slow. Any thoughts or improvements on this?

Olaf

Avatar
Sigurd

7 September 2008 at 10:31pm Forum Moderator, 628 Posts

the blog might be slow due to widgets taking content from third party websites?

Avatar
bennybtl

18 September 2008 at 3:14am (Last edited: 18 September 2008 3:17am), Community Member, 12 Posts

I've noticed this as well. My sites take a long time to beginning sending the files (waiting for server) 5-15 seconds depending on the page. Once the page is sent, then everything else loads quickly. The demo site is a little faster. It seems that the DB or SS core is holding things up? Unfortunately, for a client used to something like Wordpress, SS can seem like a step backwards... Hopefully, 2.3 will offer a little speed bump.

In the meantime, any tips for optimization? (when you don't own/have control of the hosting server)

Avatar
Sigurd

18 September 2008 at 10:24pm Forum Moderator, 628 Posts

It is odd since silverstripe pages normally take 100ms to produce or much less if optimised.
I'd suggest ensuring you're running a PHP accelerator and that the web server is caching files in a sensible fashion.

Can I suggest you run a tool like ApacheBench on your server (you can run it remotely) and paste the results here?

Avatar
Blackdog

18 September 2008 at 11:41pm (Last edited: 18 September 2008 11:43pm), Community Member, 156 Posts

I think the admin is far to slow to load. I have also had clients complain that it is slow which has frustrated them.

We upgraded our server which has helped ease the problem.

Avatar
bennybtl

19 September 2008 at 1:51am Community Member, 12 Posts

Here's the AB output, I ran only 1 connection for 30 seconds.

This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking www.########.com (be patient)
Finished 18 requests
Server Software: Apache
Server Hostname: www.########.com
Server Port: 80

Document Path: /
Document Length: 2594 bytes

Concurrency Level: 1
Time taken for tests: 30.823 seconds
Complete requests: 18
Failed requests: 0
Broken pipe errors: 0
Keep-Alive requests: 0
Total transferred: 56392 bytes
HTML transferred: 49286 bytes
Requests per second: 0.58 [#/sec] (mean)
Time per request: 1712.39 [ms] (mean)
Time per request: 1712.39 [ms] (mean, across all concurrent requests)
Transfer rate: 1.83 [Kbytes/sec] received

Connnection Times (ms)
min mean[+/-sd] median max
Connect: 96 97 0.5 97 99
Processing: 823 1558 1886.3 955 7537
Waiting: 726 1557 1886.2 955 7536
Total: 823 1655 1886.4 1052 7634

Percentage of the requests served within a certain time (ms)
50% 1052
66% 1098
75% 1153
80% 1242
90% 5885
95% 7634
98% 7634
99% 7634
100% 7634 (last request)