Ini perbandingan praktis saja, bukan soal teknis.
dietlibc hasilnya lebih compact, lebih kecil, tetapi sampai sekarang
saya belum berhasil menggunakan shared library dengan dietlibc (memang
belum bisa?), untuk aplikasi yang threaded juga susah pakai dietlibc.
makanya dietlibc saya pakai u/ compile qmail, ucspi-tcp dan
program-program kecil lain.
uclibc lebih besaran dikit dari dietlibc hasilnya, tapi bisa pakai
shared library dengan uclibc, dan support thread.
saya pernah coba compile postfix dengan dietlibc dan uclibc, hasilnya
ndak jauh-jauh beda berhubung postfix menggunakan a lot of 'wrappers'.
akhirnya untuk uucp saya compile postfix pakai uclibc, dibuat shared
library postfix.
ppc:/usr/libexec# top bn1 | grep qmail
2478 qmaill 16 0 36 36 24 S 0.0 0.0 0:00.00 multilog
2531 qmaill 18 0 36 36 24 S 0.0 0.0 0:00.00 multilog
2576 qmaill 18 0 36 36 24 S 0.0 0.0 0:00.00 multilog
4314 qmails 17 0 132 80 116 S 0.0 0.1 0:00.00 qmail-send
4315 root 17 0 116 64 84 S 0.0 0.1 0:00.00 qmail-lspawn
4316 qmailr 17 0 112 56 80 S 0.0 0.0 0:00.00 qmail-rspawn
4317 qmailq 17 0 88 32 76 S 0.0 0.0 0:00.00 qmail-clean
4318 qmails 17 0 120 64 92 S 0.0 0.1 0:00.00 qmail-todo
4319 qmailq 17 0 88 32 76 S 0.0 0.0 0:00.00 qmail-clean
ppc:/usr/libexec# top bn1 | grep postfix
25070 postfix 16 0 1040 504 784 S 0.0 0.4 0:00.01 pickup
25071 postfix 15 0 1096 556 836 S 0.0 0.4 0:00.01 qmgr
25074 postfix 18 0 1036 492 784 S 0.0 0.4 0:00.01 showq
25081 postfix 18 0 1112 572 848 S 0.0 0.5 0:00.01 cleanup
25082 postfix 17 0 1052 508 792 S 0.0 0.4 0:00.01 trivial-rewrite
25083 postfix 16 0 1080 540 816 S 0.0 0.4 0:00.01 pipe
25088 postfix 16 0 1192 640 916 S 0.0 0.5 0:00.02 smtpd
25089 postfix 18 0 1016 468 764 S 0.0 0.4 0:00.01 proxymap
ppc:/usr/libexec# ldd postfix/smtpd
libnsl.so.0 => /usr/powerpc-uclibc-linux/lib/libnsl.so.0 (0x30015000)
libresolv.so.0 => /usr/powerpc-uclibc-linux/lib/libresolv.so.0
(0x30026000)
libc.so.0 => /usr/powerpc-uclibc-linux/lib/libc.so.0 (0x30037000)
ld-uClibc.so.0 => /usr/powerpc-uclibc-linux/lib/ld-uClibc.so.0
(0x30000000)
ppc:/usr/libexec# /usr/sbin/postfix
ppc:/usr/libexec# du -sh /usr/sbin/sendmail
168K /usr/sbin/sendmail
ppc:/usr/libexec# du -sh /usr/libexec/postfix
4.3M /usr/libexec/postfix
ppc:/usr/libexec# du -sh /var/qmail/bin
3.9M /var/qmail/bin
kalau postfix dicompile dengan dietlibc kurang lebih sama, kecuali semua
stdio diwrap (mimpi kali ye). qmail+dietlibc menang baik dari sisi
penghematan disk dan memory, postfix+uclibc menang features (hi..hi..).
ini kan sambil siap-siap, siapa tahu besok ada duit buat beli komputer
kecil :-))
Salam,
P.Y. Adi Prasaja
--
Ini signature saya. Pasang iklan anda di sini ... tarif menantang :-)
--
Right or wrong my list. Unsubscribe option is currently unavailable.
Indeed, it's available upon request .. but: cepek dulu donk!