DebianThis forum is for the discussion of Debian 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.
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.
Has anyone used ureadahead, readahead, e4rat, or anything else to speed the boot process in Debian or any Debian.based distro? It takes anywhere from 50 to 70+ seconds to get from the grub menu to the login manager, and another 20 to 30+ seconds to get to the desktop. Google chrome takes several seconds to load the first time in a session, but that is still much faster than Google chrome in W7. I am dual booting W7 and lmde4.
Has anyone used ureadahead, readahead, e4rat, or anything else to speed the boot process in Debian or any Debian.based distro? It takes anywhere from 50 to 70+ seconds to get from the grub menu to the login manager, and another 20 to 30+ seconds to get to the desktop. Google chrome takes several seconds to load the first time in a session, but that is still much faster than Google chrome in W7. I am dual booting W7 and lmde4.
The highlighted sentence makes me believe that your hardware is not adequate to comfortably handle a modern web browser.
The software you mentioned - I think readahead is just part fo the kernel, I can't find ureadahead anywhere, and I have never used e4rat. I am under the impression that this functionality is being handled by the kernel & the init process.
I appreciate that you have a problem, though - I just don't think this is the way to solve it.
i like to use systemd-analyze with the " plot " option to make a *.svg image of the boot process
this way i can see it in detail and figure out what is taking way to long
If you have two or more hard drives installed then you can speed up Debian a lot by splitting it across both (or all) drives. I generally put / and /usr on different drives. If you have a third drive then put your user data on that drive.
The basic idea is to have as many drives busy in parallel as possible.
I have also posted in the forum on th Linux Mint website. My machine is a laptop so multiple drives is not an option. Detailed info on my machine is posted there:
As to the handling of Google Chrome, LMDE handles it much faster than W7, especially from a cold boot. In that case, W7 may take over a minute to open the browser the first time in the session not including a web page, where LMDE only takes about 4 seconds. Subsequent opening of the browser is far faster than the first in W7. LMDE is a little faster in subsequent opening than the first, but then how much faster could it get? Page loading is also faster in LMDE than in W7.
I think that's the maximum fastness right there, for this particular hardware.
Please refer to my previous post, and the implied question(s) you chose to ignore.
yes, you cannot do significant changes, but you can obviously try to remove unnecessary services. Adding RAM is a good idea, but will not help on the boot time (but on browsing).
The only way to speed it up is a new SSD (as far as I see).
You wrote it:
Quote:
An ssd would probably be the single most effective performance enhancment, but at present I just can't fit that into the budget right now.
In most cases, upgrading the RAM helps improve the performance massively. I would recommend upgrading to the max allowed (by the system and the budget).
Quote:
i like to use systemd-analyze with the " plot " option to make a *.svg image of the boot process
I didn't know this tool existed and I love it. I was able to plot the boot process and get details about how quickly the system is booting up. Thanks for sharing.
and it's a 5400rpm drive. You would be much better off spending money on a new SSD drive rather than a ram upgrade.
Quote:
Google chrome takes several seconds to load the first time in a session, but that is still much faster than Google chrome in W7. I am dual booting W7 and lmde4.
That is symptomatic of a slow hard drive as is the slow boot time. The first load up of chrome has to come off the hard drive where it is loaded into ram and run. After closing chrome, it stays in ram for some time unless some other program needs the ram. The second load up of chrome will come off that ram cache and will be much faster.
You may want to run Samsung's hard drive diagnostic utility on the drive to make sure its functioning properly. You can download it here:
To Ondoho : Sorry if it seemed like I was ignoring the request for more info. I am infrequently able use the machine in question and do most posting from my cell phone. I did post info in a forum on the Linux Mint website and linked to that in an earlier post. As far as software loading time is concerned, it is quite acceptable in LMDE, but it can be abysmal in W7.
Last edited by linnymint; 04-06-2022 at 02:52 PM.
Reason: Clarification
I did the same in January and that made all the difference in the world. My wife says it is the best thing I've given her. I also maxed out the memory to 8 gigs, but that has made little or no difference. Might extend the life of the ssd by reducing unnecessary writes to cache.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.