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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Speed issues


Go to End


26 Posts   12675 Views

Avatar
marikas

Community Member, 24 Posts

12 December 2007 at 4:01pm

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

Avatar
Fuzz10

Community Member, 791 Posts

12 December 2007 at 10:58pm

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

Community Member, 10 Posts

7 September 2008 at 10:29pm

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

Forum Moderator, 628 Posts

7 September 2008 at 10:31pm

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

Avatar
bennybtl

Community Member, 12 Posts

18 September 2008 at 3:14am

Edited: 18/09/2008 3:17am

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

Forum Moderator, 628 Posts

18 September 2008 at 10:24pm

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

Community Member, 156 Posts

18 September 2008 at 11:41pm

Edited: 18/09/2008 11:43pm

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

Community Member, 12 Posts

19 September 2008 at 1:51am

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)