Not linux, sorry. FreeBSD?
<jibberish>
My advice is, IMHO. HEAPS of stuff, in no particular order.
depending where/what your bottlenecks are. I'm assuming you want to bring the volume of traffic down.
You seem to be running apache on Linux (or at least your hosting provider, voice valley is, depending on your set-up).
Install mod_gzip or mod_deflate, that will bring your text serving size down HEAPS for surprisingly little processing overhead. If you find you're losing too many CPU cycles, i'd suggest tuning the level of compression so that the response time is good but you also get reasonable compression.
grep your apache logs into a mysql table. Do a 'group by' query and accumulate the number of hits per URI multiplied by the byte size of the responses.
You'll find that the data is skewed to a few objects, which will probably be binary photographs. unlink the photographs.
depending on the distribution of bytes / response objects, a reverse proxy might also help serve common, static objects.
Check that your conditional requests are actually working. If clients are sending IMS requests and your server is sending back objects when it should be a positive cache acknowledgment.
If processing is your bottleneck, depending on the level of access you have to the machine i'd probably install zend optimizer, it is apparently compatible with suhosin.
If the DB is your bottleneck, you might need to look towards replication - which is probably too expensive.
The main page http://www.aulro.com/ is FAR too large, 119.7k. Pull the CSS out into a separate file, each time someone loads the main page, they keep downloading the static CSS, it should be seperate and locally cached. Most/all of the javascript should also be placed in seperate objects.
I'd pull all the whitespace from it too. It's just wasted.
100 characters of space are great, but if one hundred people load the page, thats 10kb.
think about removing dynamic content, like the time, from pages that are not otherwise changed. This will allow the content to be cached.
...
are you serving any content other than this forum?
</jibberish>
Not linux, sorry. FreeBSD?
welcome to the honey pot, all is not as it seems :P
long since doneOriginally Posted by Rob101
zend and apc. found xcache problematicOriginally Posted by Rob101
agreedOriginally Posted by Rob101
will look into that,..Originally Posted by Rob101
hmmmmmmmm yes and no... will be looking into some of the dynamics of the way it is setup.Originally Posted by Rob101
...
dedicated p4 box with 4gig of ram running freebsd with raided sata hdd'sOriginally Posted by Rob101
it is running an openads adserver for the system as well but that will be leaving shortly.
and postfix for mail
2007 Discovery 3 SE7 TDV6 2.7
2012 SZ Territory TX 2.7 TDCi
"Make the lie big, make it simple, keep saying it, and eventually they will believe it." -- a warning from Adolf Hitler
"If you don't have a sense of humour, you probably don't have any sense at all!" -- a wise observation by someone else
'If everyone colludes in believing that war is the norm, nobody will recognize the imperative of peace." -- Anne Deveson
“What you leave behind is not what is engraved in stone monuments, but what is woven into the lives of others.” - Pericles
"We can ignore reality, but we cannot ignore the consequences of ignoring reality.” – Ayn Rand
"The happiness of your life depends upon the quality of your thoughts." Marcus Aurelius
Oh yes.
and I should say.
Spectacular forum.
![]()
Thinking of ways you can reduce the number of disk accesses.
You using RAID to increase volume or for data replication/disk duplication? If the former, this can add significantly to your read/write times. With the cost of large disks being so low now it may be wise to consider copying everything onto a larger disk, e.g. 500Gb <$200, 1Tb still expensive but will come down soon.
You might need to look at how big you have set the partitions (?). Can you move the swap disk to another drive (that'd be at least 4Gb on its own)?
What about storing BLOBS on another drive?
Alan
2005 Disco 2 HSE
1983 Series III Stage 1 V8
is a mirror for backup
i will be upgrading the drives to some of the new 32mb cache gear this year some time.
2007 Discovery 3 SE7 TDV6 2.7
2012 SZ Territory TX 2.7 TDCi
"Make the lie big, make it simple, keep saying it, and eventually they will believe it." -- a warning from Adolf Hitler
"If you don't have a sense of humour, you probably don't have any sense at all!" -- a wise observation by someone else
'If everyone colludes in believing that war is the norm, nobody will recognize the imperative of peace." -- Anne Deveson
“What you leave behind is not what is engraved in stone monuments, but what is woven into the lives of others.” - Pericles
"We can ignore reality, but we cannot ignore the consequences of ignoring reality.” – Ayn Rand
"The happiness of your life depends upon the quality of your thoughts." Marcus Aurelius
Right, that shouldn't make too much difference, but with a large number of requests it could end up as a bottle neck as the disks sync with each other.
You will probably notice a difference for a while. What are your storage requirements and will they increase by much?
The requirement to store images outside the forum may be a necessary step although having the images as a library resource may have historical value in years to come.
Alan
2005 Disco 2 HSE
1983 Series III Stage 1 V8
| Search AULRO.com ONLY! |
Search All the Web! |
|---|
|
|
|
Bookmarks