Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-09-2004, 02:28 AM
|
#1
|
Member
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139
Rep:
|
Optimizing a pentium II 200 Mhz MX on debian
Hi there! I want to optimize an old computer running debian. Tips can include what services I could spare, what kernel i should use, or what desktop environment is best. This computer will be used to surf the internet, and maybe some simple office work.
Right now its running a 2.4.18 kernel. I was thinking in 2.4.23 or 2.6.1? Does it make sense to use a 2.6? I think some preemt properties might be useful, but I dont know if the 2.6 is heavier on the long run. I installed xfce as desktop environment, firebird mozilla as browser. I know openoffice is relatively slow but its the most compatible option to microsoft office that i know of.
i would appretiate everything that would help the sistem to be a little lighter, i have the feeling that X is not configured very optimal, im using the debian package xserver-s3, is it better to use the free86?
hardware:
s3 trio
intel 430vx pentium II MMX 200 Mghz 32 mb ram
thanks!
|
|
|
02-09-2004, 08:24 AM
|
#2
|
Member
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416
Rep:
|
With 32 MB of RAM, you're going to have a hard time multitasking office and web browsing no matter what you do - lots of swapping. It can be done though - make sure you've got a 100-200MB swap partition right near the start of your drive, to make it as quick as possible.
Services - what do you need? You probably DON'T need httpd, or telnet (I'd leave sshd on, just to connect remotely. if you never use it, though, you can cut it.) Just look at your init scripts, figure out what each service is, what it does, and if you need it.
Kernel - I'd go with 2.6.2. I'm under the impression that 2.6 is faster than 2.4, and on a system that's starved for processor power, pre-emption will lead to a "snappier" feel. For optimum performance, compile it yourself, and cut out anything you don't need. I've heard that a "monolithic" kernel - no modules, everything compiled in directly - is faster than one using modules. Does anyone have an opinion on this?
X - I've only ever used XFree86, I don't know how speeds would compare... I'd be interested to hear opinions on it. You might also want to check out IceWM. It's supposed to be one of the fastest window managers out there. Try benchmarking it against xfce, see what comes of it.
Good luck!
--Rounan
|
|
|
02-09-2004, 12:25 PM
|
#3
|
Member
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139
Original Poster
Rep:
|
Hi ! Thanks... yes, i wanted to try icewm and fluxbox and see how they work on this machine. Right now i can surf the web, but its still increidably slow.. jejeje... i think i will buy a little bit of ram a little later, but I want to see how far i can go with what i have. It might even become a new hobby, I think it could be something interesting and useful for some countries low on resources to use hardware other people are throwing away and still be effecient. Maybe a console text editor that can open and edit
(simple) microsoft word documents? jejeje
ill repartition the disk and put the swap on front. And Ill compile a 2.6 (ill compile it at home via ssh and then download it because Id like it to finish this year jeje)
thanks and take care,
ashley
|
|
|
02-09-2004, 03:50 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018
Rep:
|
One thing that'll help is using a more minimal XFree86 server - xvesa and xfbdev are a couple I know of (check out this KDrive site for details). Debian packages for those may be available.
XFCE4 I've found is a good choice - nice compromise between minimalism and friendly icons.
Supposedly KWord (the KDE word processor) will open MS Word docs, but I've never had much success with it, so OpenOffice is probably your best bet there, unless you can do without total MS Office compatibility.
Dillo is a pretty decent and very lightweight browser; you might want to compare with Firebird to see which one is better suited. Definitely try paring down services. You could probably save a couple hundred extra KB by removing extra tty consoles from your /etc/inittab (several lines that say 'getty' or something similar in them) - you could safely remove all but one or two of them.
edit: You know, I'm surprised there aren't more programs with MS Office compatibility now.... I mean, OpenOffice is open-source, so you'd think everyone would have borrowed their nice import filters by now. Weird.
edit #2: One possible reason
Last edited by wapcaplet; 02-09-2004 at 04:00 PM.
|
|
|
02-10-2004, 03:17 AM
|
#5
|
Member
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139
Original Poster
Rep:
|
more...
well, the 2.6 kernel that I compiled for this machine is going very slow, i stripped alot, maybe too much, so i have some questiones...
msr
microcode
cpuid
r they necesary?
framebuffer video device? is this also necesary... ?
there are a lot of options that I also could strip but that I am not aware of.
elf / a.out /ecoff / misc
crc32 ?
could i live without plug and play?
frame buffer device?
system v / bsd .. / sysctrsyp... ?
until now i have always been trying to get a machine work with everything it has... jejeje
icewm and fluxbox have been working better than xfce. and i still have the feeling i still have a long way to go on optimizing X. ill try and see what packages i find...
|
|
|
02-10-2004, 11:34 PM
|
#6
|
Member
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139
Original Poster
Rep:
|
well, ive tested several configurations, i dont manage to get 2.6 fast on this sistem... i think ill keep fluxbox and icewm, xfce is a bit slower on this machine
ill reformat the harddrive and bring the swap to the front now.... that will take awhile
does anybody know if its bad to have a too big of a swap?
|
|
|
02-11-2004, 08:01 AM
|
#7
|
Member
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416
Rep:
|
Generally, the rule of thumb I've heard is make swap twice your RAM or 1GB, whatever comes first. In your case, though, I'd give it a good 128MB. Maybe 256. with only 32MB of physical ram, and trying to run a goliath like OpenOffice, you'll need some swap space.
I don't think you can have "too much" swap, but after a certain point it doesn't help anymore. RAM is better than swap, but swap's better than nothing.
--Rounan
|
|
|
02-11-2004, 08:08 AM
|
#8
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305
Rep:
|
net and openbsd's kernel's are much less memory hungry than linux in my opinion.
i think they'll leave more ram for apps to load in. that's my opinion anyway.
|
|
|
02-11-2004, 09:02 AM
|
#9
|
Member
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416
Rep:
|
I'd be interested to see how much - A well-compiled linux kernel would be under a meg, and though I don't doubt BSD could beat it, it'd be to the tune of maybe 100k... when you're trying to run a gui and office apps, I don't think you'd notice the difference.
|
|
|
02-11-2004, 12:12 PM
|
#10
|
Member
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139
Original Poster
Rep:
|
thanks, i had just got through the linux partition howto and now I am spreading my partitions and swap partitions throughout the disk. I tried openoffice, I can forget it, jejeje... i could open it, but it even took to long to print out my keystrokes... so I went for abiword. It works FAST! It takes only aprox. 8 sec to load... Mozilla firebird takes 34 sec.
|
|
|
All times are GMT -5. The time now is 11:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|