Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

WIKI server on old computer: how to speed up things?

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
nirax
Guru
Guru
User avatar
Posts: 319
Joined: Tue Jul 06, 2004 9:18 am
Location: Germany, old Europe

WIKI server on old computer: how to speed up things?

  • Quote

Post by nirax » Sun Aug 20, 2006 8:30 am

Hi all,

i recently placed the family wiki-server on an old Compaq Armada Notebook (P133,96MB Ram,2gb hd).
Reasons to use it as server are the low power consumption profile, the "built in UPS" and the mobility.

Now we all would expect it, performance of apache2, php4 and mysql is not really astonishing.
Wait time for 1 page display is around 4-5sec.

I saw that several apache and mysql threads are started.
What settings could be used to speed up the server a little? Not more than 2 ppl would access it at the same time.

greetings,
nirax
quot licet iovi non licet bovi
Top
morodoch
Guru
Guru
User avatar
Posts: 523
Joined: Thu Sep 22, 2005 2:01 pm
Location: England

  • Quote

Post by morodoch » Sun Aug 20, 2006 9:21 am

Have you considered using a different setup?

Maybe using a file-based wiki rather than a mysql one, and a lighter weight webserver?

There are several alternatives to apache under gentoo:

http://www.gentoo-portage.com/www-servers?view=list (maybe lighttpd?)

And several alternative wikis, too:

http://www.gentoo-portage.com/www-apps?view=list

I've used both moinmoni and twiki, and IIRC neither required mysql.
Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.

-- Curtis
Top
nirax
Guru
Guru
User avatar
Posts: 319
Joined: Tue Jul 06, 2004 9:18 am
Location: Germany, old Europe

  • Quote

Post by nirax » Sun Aug 20, 2006 9:38 am

Thanks for the answer.

I will definately try a ligher http server.
The other parts (PHP4 and mysql) are necessary though. We have already a lot of wiki entries so we need to use "mediawiki".

Can these applications be quikcer/use less ressources?

greetings,
nirax
quot licet iovi non licet bovi
Top
morodoch
Guru
Guru
User avatar
Posts: 523
Joined: Thu Sep 22, 2005 2:01 pm
Location: England

  • Quote

Post by morodoch » Sun Aug 20, 2006 9:52 am

Well you can certainly trim the amount of memory that mysql uses; plus tweak some performance-related stuff:

http://mysql.com/doc/refman/5.0/en/opti ... gured.html

I guess this would be a good place to start. You may also want to play with different table types to see what works best for you (innodb, isam, ...).

Try running top and see what's going on when you're loading your pages. Is it mysql that's doing stuff? Or the http server? Is it swapping? Or just generally slow disc I/O? If you can answer these questions, you may be able to make a more sensible guess at what to do to speed it up.
Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.

-- Curtis
Top
Valermos
n00b
n00b
Posts: 4
Joined: Mon Nov 14, 2005 8:54 pm
Location: Orlando, FL

  • Quote

Post by Valermos » Sun Aug 20, 2006 9:30 pm

I had a similar problem with mediawiki software executing really slowly on some old hardware. Turns out the problem for me was that multiple php files were being unnecessarily re-parsed over and over each time a page was loaded. So, I installed Turck MMCache which caches each php file after it's been compiled and greatly reduces server processing load. The difference was dramatically noticable for my mediawiki server. Here's a link to the software if you're interested in giving it a shot. http://turck-mmcache.sourceforge.net/index_old.html
Top
nirax
Guru
Guru
User avatar
Posts: 319
Joined: Tue Jul 06, 2004 9:18 am
Location: Germany, old Europe

  • Quote

Post by nirax » Mon Aug 21, 2006 12:02 am

cool stuff!
Turck MMCache could solve it here also. load average went from 5-6sec to 1 sec.

greetings to you both,
nirax

edit:
and down to 0,4 sec adding also ZendOptimizer to the game ! :o)

ok now the old hardware does not feel slow at all anymore. astonishing!
quot licet iovi non licet bovi
Top
Post Reply

6 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic