Updates:

Many new features now available including 2-Factor authentication

Web site changes (http://linux.co.uk)

Started by Mad Penguin, July 08, 2010, 03:40:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mad Penguin

Mmm, I moved it to the top of the sidebar .. just need a different / more efficient search bar is all .. I'll get round to looking unless someone knows a good one for WP?
https://twitter.com/garethbult
https://gareth.bult.co.uk

Mad Penguin

Ok, now we're just getting silly ...  ;D

Quote# ab -c12 -n1000 http://linux.co.uk/ (http://linux.co.uk/)
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ (http://www.zeustech.net/)
Licensed to The Apache Software Foundation, http://www.apache.org/ (http://www.apache.org/)

Benchmarking linux.co.uk (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        lighttpd/1.4.26
Server Hostname:        linux.co.uk
Server Port:            80

Document Path:          /
Document Length:        42985 bytes

Concurrency Level:      12
Time taken for tests:   3.051 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      43294662 bytes
HTML transferred:       42985000 bytes
Requests per second:    327.81 [#/sec] (mean)
Time per request:       36.607 [ms] (mean)
Time per request:       3.051 [ms] (mean, across all concurrent requests)
Transfer rate:          13859.75 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:    19   36  12.9     34     135
Waiting:       19   36  12.9     34     135
Total:         19   36  13.0     34     135

Percentage of the requests served within a certain time (ms)
  50%     34
  66%     38
  75%     41
  80%     43
  90%     48
  95%     57
  98%     79
  99%     89
100%    135 (longest request)

https://twitter.com/garethbult
https://gareth.bult.co.uk


Mad Penguin

Ok, if I've cracked the sticky page issue (!) then speed is now pretty consistent at between 325 and 360 pages / sec ..  :)

Forum is up to ~ 16 pages / sec. (from ~ 3)
https://twitter.com/garethbult
https://gareth.bult.co.uk

Mark Greaves (PCNetSpec)

what was up with stickies ?... I never knew there was a problem.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Mad Penguin

Mmm, clicking a link sometimes either pauses 30s or never happens.

I *think* it's fixed .. have added "disable-time" => 0 to lighttpd's config, removed the rrdtool graphs and removed double definitions of server.log ..

Am managing to run "ab -c10000 -c50" against one of the sites and it comes back clean with zero failures ..

Not "feeling" some of the stickyness I saw earlier ...

Still 'experimenting' with xcache memory usage / pools etc .. starting to look more 'stable' now tho'...

This is what I'm talking about - real-world change in Forum response time;

[smg id=642 type=preview]

And the change to one of the other PHP websites, spot the step, Phase I was WP-SuperCache, Phase II was xcache.

[smg id=652 type=preview]
https://twitter.com/garethbult
https://gareth.bult.co.uk


Mark Greaves (PCNetSpec)

Gottcha... I thought you meant there was a problem setting a topic/post "Sticky":)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Mad Penguin

Ok, well it's maintenance day tomorrow and I have to pull one of the core servers that hosts the mail system, the lighttpd server, and a customer VPS, amongst other things .. [one of the drives in it's array failed badly and I use cheap / non hot swap HDD's]

So, I've just [live] migrated all the services off that box onto other cloud nodes leaving it idle / ready for shutdown.

Downtime, around 1s in total .. so linux.co.uk and the forums are running in degraded mode atm .. notice the slowdown?   ;)

I love clouds ..  :-* .. once upon a time I'd either have been paying through the nose for hot-swap kit, or scheduling 2h downtime, or spending a couple of days in advance patching a backup service ... all I need now is for hardware manufacturers to stop turning out crappy drives and I'll be happy ..  ::)
https://twitter.com/garethbult
https://gareth.bult.co.uk

Mad Penguin

#22
Ok, but I hate software raid.

Tips of the day;

  • use RAID6 instead of RAID5.
  • get / use mdadm 3.1.2 or better
Command line of the day to rebuild a completely screwed RAID 5 array. This is useful if /dev/sda2 has failed, you have replaced it, but one of the other disks then errored while trying to build in the replacement /dev/sda2. Warning: incorrect use of this command and/or incorrect parameters can serious damage your .. well .. everything.

mdadm --create /dev/md0 -vv --assume-clean --level=5 --chunk=64 --layout left-symmetric --raid-devices=5 missing /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2

Then of course you need to re-map the failed blocks on the device that errored (badblocks) and following that, re-add the replacement sda2 and watch it rebuild .. hopefully .. ask me later ..
https://twitter.com/garethbult
https://gareth.bult.co.uk

BkS

Linux.co.uk is much faster :o
Forums are much quicker aswell...  shame about the search bar on the website though :/
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.


Mad Penguin

Yes, there's still a search function if you hit one of the sub pages (News etc) .. I will put something back, but that particular plugin was *really* terribly in terms of performance ..
https://twitter.com/garethbult
https://gareth.bult.co.uk

Mad Penguin

Ok, I've added the search bar back on the site .. just without the performance hitting "live" feature .. :)
https://twitter.com/garethbult
https://gareth.bult.co.uk

Smither

I've lost count of how many times you've changed the website URL. :P

Mad Penguin

Erm, website url has *never* changed .. ???
https://twitter.com/garethbult
https://gareth.bult.co.uk