Quote:
Originally Posted by superuser2 I switched the web server to lighttpd and that has made a difference, but what else can I do to make things a little leaner and meaner? |
I am not sure what do you mean. If you run the server on the same machine you are running an X session then you are out of luck :P I know no web server that's lighter than lighttpd.
Quote:
|
Should I switch to Gentoo? (All of my experience is with Debian and Ubuntu, but from what I've heard, Gentoo is fast so I'd be willing to learn it.)
|
I can only advise to use Gentoo to everyone, and I love it. But if your main reason to change to Gentoo is "speed", then I don't think that that's a valid reason.
Quote:
|
Any advice on speeding up / cutting down memory usage would be greatly appreciated. I will switch distros if it will help.
|
Check the output for htop, and see what's sucking up your ram. I doubt that lighttpd is the problem. I would suspect on django (python needs to load a vm, you know...). I'd suggest porting all the django stuff to php if you want to run on the light side.
Quote:
Originally Posted by dxqcanada The advantage of Gentoo is that your apps are compiled based on your specific architecture and compile options.
That does speed up the apps ... somewhat. |
Not that much. The difference on most apps is really not appreciable. Maybe when encoding video and rendering 3d with blender you will notice some improvement due to sse and all that stuff.
Quote:
Gentoo also makes you think about the kernel and talks about customizing it.
You can reduce unwanted drivers/modules by customizing your kernel.
|
Wich will give you no speed boost at all. It will save you some megabytes in your hard disk, though.
EDITED: note that, while you will be saving some disk space by ripping things in the kernel, you will also be losing around 300-400 mb of disk space for each installed kernel, because on Gentoo you need to have the souces for the kernel under /usr/src.
Quote:
|
Gentoo is very customizable ... but I will warn you that compile times may be long for certain apps ... some people have complained about this point.
|
Compiling things takes time. People that care about that should be using a binary distro, and shound't be complaining about how long it takes to compile a given thing. It's just like to complain how far Russia is from the U.S.A.: it's just that way, and that will NEVER change.
Quote:
|
The Gentoo Docs and Wiki are extremely helpful.
|
Probably, the best around.
Cheers.