ahmad Posted June 26, 2006 Report Share Posted June 26, 2006 after installing mandriva.. i still have the speed problem.. it's tooo slow... it takes 15 sec to load firfox... 30 sec to openMCC ..!! i'v tried : urpme kat it's a bit faster now... but still way slower than windows... :huh: i even removed some services still verry slow... better than befor... but still i find it very hard to use it for every day's life.... aren't there any extra application to stop? or services?! thanks Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 26, 2006 Report Share Posted June 26, 2006 Is this Mandriva 2006? Did you update your new installation as this may help. See the link to Easy-Urpmi at the top of the web page. Quote Link to comment Share on other sites More sharing options...
ahmad Posted June 26, 2006 Author Report Share Posted June 26, 2006 Is this Mandriva 2006? Did you update your new installation as this may help. See the link to Easy-Urpmi at the top of the web page. Mandriva 2006 yes.. i'm doing it now.... will it be enough to make it ok? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 26, 2006 Report Share Posted June 26, 2006 If you post a list of your services, I'll let you know which ones you can stop/disable, or which programs you can remove altogether. You can get a list of them using: chkconfig --list will display all services on the system, whether disabled or enabled. chkconfig --list | grep on will provide a list of those that are enabled. I tend to remove services completely by removing the associated program. Others tend to just turn it off in case they might need it later. Quote Link to comment Share on other sites More sharing options...
edwardp Posted July 8, 2006 Report Share Posted July 8, 2006 (edited) Without knowing how fast or slow the CPU is and what the system has for memory, I can suggest the following, based on answers I've received from ianw1974 and others elsewhere on the site. Remove "kat" (which you've apparently done already). Turn off "lisa" at boot, since this provides for network browsing. If you have no need to check other computers on your network (assuming you have a home network), you do not need "lisa". After logging in, open a Konsole window, type su and enter your root password. Then type: swapoff -a which will turn off your swap partition. I did all this on an older, custom-built PC with 196 Mb of memory and an Intel Pentium/MMX CPU (166 MHz), and Mandriva is running reasonably well, but I have to remember to swapoff -a every time I boot it up. Edited July 8, 2006 by edwardp Quote Link to comment Share on other sites More sharing options...
daniewicz Posted July 8, 2006 Report Share Posted July 8, 2006 I think if you add your command "swapoff -a" to /etc/rc.d/rc.local then you can avoid needing to enter this command after a reboot. Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted July 9, 2006 Report Share Posted July 9, 2006 After logging in, open a Konsole window, type su and enter your root password. Then type: swapoff -a which will turn off your swap partition. I did all this on an older, custom-built PC with 196 Mb of memory and an Intel Pentium/MMX CPU (166 MHz), and Mandriva is running reasonably well, but I have to remember to swapoff -a every time I boot it up. If I remove the swap partition from fstab, will it do the work or 'swapoff -a' is the only solution? [offtopic] Why turning off the swap makes a PC faster, isn't it the opposite? [/offtopic] Quote Link to comment Share on other sites More sharing options...
aioshin Posted July 9, 2006 Report Share Posted July 9, 2006 (edited) is'nt it that mandriva or other linuxes uses the swap only if there is not enough available RAM to use...? then why should swap need to turn off when you only have a 196 MB of RAM... maybe if you have a 512 or 1Gig of RAM, then you dont really need swap in your Desktop ( but not on all situation IMO) Edited July 9, 2006 by aioshin Quote Link to comment Share on other sites More sharing options...
coverup Posted July 9, 2006 Report Share Posted July 9, 2006 is'nt it that mandriva or other linuxes uses the swap only if there is not enough available RAM to use...? then why should swap need to turn off when you only have a 196 MB of RAM... maybe if you have a 512 or 1Gig of RAM, then you dont really need swap in your Desktop ( but not on all situation IMO) I wish this were true! I have a 1G of RAM and 2G of swap partition, and time to time evolution would start using up more and more swap... Apparently there is a nasty memory leak in Evo, but there are no updates. Quote Link to comment Share on other sites More sharing options...
arctic Posted July 9, 2006 Report Share Posted July 9, 2006 This is strange. My main machine also has 1 GB RAM and 2 GB Swap and Mandriva NEVER used my swap, not even with evolution opened (max RAM used I managed was some 950 MB so far). Evo uses 22 MB on my boxes. Disabling swap should basically not make your computer faster, it will only make it more unstable. I highly recommend not to disable it unless you have more than 2 GB Ram. (Yeah, call me paranoid B) ) If I remove the swap partition from fstab, will it do the work or 'swapoff -a' is the only solution?Removing it from fstab would do the trick, but as said: I don't recommend doing this. Quote Link to comment Share on other sites More sharing options...
coverup Posted July 9, 2006 Report Share Posted July 9, 2006 This is strange. My main machine also has 1 GB RAM and 2 GB Swap and Mandriva NEVER used my swap, not even with evolution opened (max RAM used I managed was some 950 MB so far). Evo uses 22 MB on my boxes. What version fo you use? Do you run it under Gnome or KDE? I have this problem on a MDK10.1 box, that is evo 2.0.3. Quote Link to comment Share on other sites More sharing options...
arctic Posted July 9, 2006 Report Share Posted July 9, 2006 I run Mandriva 2006 with Gnome 2.10 and Evolution 2.2.3. Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 9, 2006 Report Share Posted July 9, 2006 is'nt it that mandriva or other linuxes uses the swap only if there is not enough available RAM to use...? then why should swap need to turn off when you only have a 196 MB of RAM... maybe if you have a 512 or 1Gig of RAM, then you dont really need swap in your Desktop ( but not on all situation IMO) It depends what you are doing ... cat /proc/meminfo MemTotal: 1034372 kB MemFree: 25536 kB Buffers: 13724 kB Cached: 748240 kB SwapCached: 520 kB Active: 596576 kB Inactive: 361772 kB HighTotal: 131008 kB HighFree: 256 kB LowTotal: 903364 kB LowFree: 25280 kB SwapTotal: 3148732 kB SwapFree: 3141436 kB Dirty: 3256 kB Writeback: 0 kB Mapped: 293824 kB Slab: 30752 kB CommitLimit: 3665916 kB Committed_AS: 645368 kB PageTables: 2560 kB VmallocTotal: 114680 kB VmallocUsed: 26460 kB VmallocChunk: 84468 kB I just activated swap and its using a few kb and slowing down my system enormously ... Its also using more memory actually handling the swap than the swap its using....by trying to cache swap to RAM. Quote Link to comment Share on other sites More sharing options...
iphitus Posted July 9, 2006 Report Share Posted July 9, 2006 I just activated swap and its using a few kb and slowing down my system enormously ... Its also using more memory actually handling the swap than the swap its using....by trying to cache swap to RAM. enourmously? How so? less responsive? programs are taking years longer to load? In what ways is it showing it's slowdown, because different ways can indicate different problems. The vanilla kernel as included in Mandriva does not do swap prefetching, so it would not be caching things from swap into memory. James Quote Link to comment Share on other sites More sharing options...
Gowator Posted July 9, 2006 Report Share Posted July 9, 2006 I just activated swap and its using a few kb and slowing down my system enormously ... Its also using more memory actually handling the swap than the swap its using....by trying to cache swap to RAM. enourmously? How so? less responsive? programs are taking years longer to load? In what ways is it showing it's slowdown, because different ways can indicate different problems. The drive the swap is on is usually powered down on maximum power/noise saving because I only use the swap when Im doing something that needs it. The vanilla kernel as included in Mandriva does not do swap prefetching, so it would not be caching things from swap into memory. James Im not using the mandriva kernel or mandriva (except on a virtual vmware) however managing the memory takes resources. The same goes for enabling CONFIG_HIMEM_4GB etc. if you are not using it the kernel still needs threads and semphores to watch it..... The default mandriva kernel is somewhat tuned more to a higher spec machine so many of kernel options in the .config are likely to be wasted resources... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.