Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I loaded DSL onto an old Toshiba laptop with 32MB RAM. It works fine, but it is slow, in particular when I read .PDFs which is what I was trying to use it for.
If I experiment with different filesystem types (ext2, fat32 etc..), might that improve performance ?
Is it that there is not enough RAM ?
If I increased swap space (it's 256 MB) would that make a difference ?
Different filesystems do have different strengths and weaknesses. My personal recommendation would be to use ext2 on that system. You don't have enough memory to use a journalling filesystem like ext3. FAT breaks too easily and suffers badly from fragmentation over time, plus you may have case-sensitivity problems with some programs. I'm sure there will be other opinions out there too.
32 meg is not a lot of RAM. However, I ran an old 486 machine for years which had only 20 meg, and that was usable. It would probably be painful to use for me now, but I had a lot of fun back in the late 90s with it
PDF rendering can be quite heavy. Some programs are faster than others. Which program are you using to view them?
On a machine of that age, I would guess that quite a lot of the speed is when your graphics card is blitting stuff about. You may be able to speed things up by changing the colour depth of your display. I used to use 256 colour mode on my old machine. This was ugly, but worked for most stuff I did. The ugliness was worth it as the 24-bit colour mode was painfully slow.
With regard to swap, I wouldn't increase the swap so much. Use as little as you can get away with without running out of memory. The rule of thumb I used to use was twice system ram, but like anything, take that with a pinch of salt.
32MB of RAM is not very much when you are trying to render and display pdf's.
If you can increase the amount of RAM, you will probably see an improvement.
Runnning top in a terminal window whilst you are loading / scrolling around a pdf may show you that it is your CPU that is struggling, in which case more RAM will only help a little.
Increasing swap is unlikely to help, because swap is v-e-r-y s-l-o-w compared to RAM
Further to what Tredegar said, swap is used if a program will not fit in real memory. It does not increase speed, instead it lets you run programs which are too large to fit in ram. The drawback, as Tredegar mentioned is that swap is very slow. If your hard disk light flashes a lot when the slowness hits, that's a sign that more ram will help.
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
in your situation, I would do two things.
one: get as much ram as you can afford and fit into the machine installed (assuming that you can get it cheap enough that it would be better than buying a new machine)
two: use as light a window manager as you can tolerate. xfce or fluxbox come to mind as the two I would suggest you try.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.