Re: most lightweight debian server



paragasu wrote:

BSD 7.0 is alleged to be better than Linux 2.6.xx, but that is disputed.
You might want to use a different scheduler and I/O scheduler than the
default if you use a 2.6.24 kernel. As the man said, compile your own.

well, add RAM is out of question, because it is a limited to 64MB RAM resource with
no intention to run GUI. no need for for DNS server. it only rum mysql5 and apache2.
and might be posfix server.

Postfix may not be as lightweight as others. This needs looking into. I don't have much experience in that area.


but mysql5 and apach2 alone already consume 170MB of memory. more than twice
the memory allocated for my use.

Would SQLite do the job? I think it is smaller than MySQL.

can you point me to a documentation about default I/O scheduler alternative to
2.6.24 kernel. i love to see any option available. thank you

There are three I/O schedulers in the 2.6.24 distribution. The deadline, anticipatory, and completely fair. You will see these as options when you run make gconfig (or whichever config you run). Completely Fair (CFQ) is now the default. This was mildly controversial when they made the switch. It is a bit complex. The deadline scheduler is simple and compact, and is alleged to be good for heavy database workloads.

This may be a bit like making a mountain out of a molehill. I just mentioned this because while you are configuring you custom kernel, you will want to give a little thought to such matters.

see /usr/src/linux/Documentation/ to start with.

--
Mark Allums


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Re: Fwd: 2.6.26 and 2.6.29 kernel image , Couldnt find valid RAM disk image starting at 0
    ... When the another test machine booted correctly I copied manually the kernel and initrd image to the failing system and rerun lilo but I got the same booting error. ... io scheduler anticipatory registered ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: call for more SD versus CFS comparisons (was: Re: [ck] Mainline plans)
    ... problems on my Amarok machine. ... usually test Amarok playback while kernel package make, ... Putting load onto the VM layer / block layer. ... also the behavior on a server for example - how does the scheduler behave ...
    (Linux-Kernel)
  • Re: page fault in sched_pin()
    ... > sched_pinearly in the boot process. ... I wasn't booting off the kernel I thught I was booting off. ... remove it from the scheduler inteface and make it part of the standard ... page fault while in kernel mode ...
    (freebsd-current)
  • Re: BIND9 performance issues with SMP
    ... instead of having its own dedicated scheduler activation. ... that threads that block in the kernel don't block the whole process. ... but lock contentions seem particularly heavy ... The first-level optimization is to create ...
    (freebsd-current)
  • Re: thread and process
    ... in the kernel, 1:n-threading, using a userspace scheduler for threads ... Since Linux is not UNIX, ... a set of such tasks sharing certain ressource structures 'looks like' ...
    (comp.unix.programmer)