Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Disabling preload to avoid very long startups

  1. #1
    Join Date
    Dec 2008
    Location
    GMT-7
    Posts
    382

    Default Disabling preload to avoid very long startups

    For a number of openSUSE releases now, on a periodic basis (monthly, it seems?) both my laptop and my desktop take forever to start. During this time, the hard disk activity is going berserk. When inspecting this with "iotop", a process called "preload" or "start_preload" is hammering the disk, sometimes up to 10 minutes.

    The irony is when you research "preload", you find mostly articles like "drastically speed up your Linux system with preload"- I sometimes think it has to do with running VMs on these machines and maybe it's trying to cache those large disk images? Pure speculation, but I can't seem to find any documentation on this.

    Anyway, I did finally find a way to turn this thing off. WARNING: since I do not know exactly what preload does and whether your machine becomes unusable if you turn it off, please only follow these instructions at your own risk.

    Since preload seems to be a very low-level system/service, I did not want to risk uninstalling it. What I did instead was:

    Yast2 - System Services (RunLevel)
    Click the Expert Mode radio button
    Scroll down to the boot.startpreload entry
    Uncheck the "B" checkbox
    Click OK and let Yast2 save the changes
    Reboot

    Since I applied these steps, no long boot times with insane hard disk activity has occurred and I also have not noticed anything else complaining or not working with this service off.
    Desk: AMD Phenom II X4 945 8GB RAM Radeon HD 3300 Arch Linux Xfce 4.8
    Lap: Intel 2.13GHz Core i3 M330 8GB RAM nVidia GeForce 310M Arch Linux KDE 4.7.3

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,675
    Blog Entries
    3

    Default Re: Disabling preload to avoid very long startups

    Preload has not seemed as much of a problem, since the last kernel update.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3
    Join Date
    Dec 2008
    Location
    GMT-7
    Posts
    382

    Default Re: Disabling preload to avoid very long startups

    Quote Originally Posted by nrickert View Post
    Preload has not seemed as much of a problem, since the last kernel update.
    Interesting - I have not run the kernel update. Was my described problem a known issue?
    Desk: AMD Phenom II X4 945 8GB RAM Radeon HD 3300 Arch Linux Xfce 4.8
    Lap: Intel 2.13GHz Core i3 M330 8GB RAM nVidia GeForce 310M Arch Linux KDE 4.7.3

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,675
    Blog Entries
    3

    Default Re: Disabling preload to avoid very long startups

    I don't remember the details, but I think there was an update on preload that accompanied the kernel update.

    My KDE session is still slow starting, but when I check the process list I don't see preload as a problem. I suspect that the delays are now due to pulse audio. I have set "no audio output" in the System Notification Configuration on my laptop, but I haven't used it enough since that change to be certain of the effect.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Disabling preload to avoid very long startups

    I had to uninstall preload on my box
    It slows booting a little, but I don't have the problem you describe anymore
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6

    Default Re: Disabling preload to avoid very long startups

    Every X boots your disc gets checked for bad sectors, it's just a Linux thing. However, "preload" doesn't seem like the name for a disc check.
    Vaio F11: i7-720QM 8GB RAM Nvidia GT 330m
    Win 7 Pro 64 bit | openSuse 11.4 64 bit | Arch Linux 64 bit

  7. #7
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Disabling preload to avoid very long startups

    On 05/11/2011 04:36 PM, bsilvereagle wrote:
    >
    > Every X boots your disc gets checked for bad sectors, it's just a Linux
    > thing. However, "preload" doesn't seem like the name for a disc check.


    Not bad sectors - the file system is checked for consistency using fsck. Yes,
    fsck can check for bad sectors, but that check is never run without you doing so.

  8. #8
    Join Date
    Dec 2008
    Location
    GMT-7
    Posts
    382

    Default Re: Disabling preload to avoid very long startups

    Quote Originally Posted by caf4926 View Post
    I had to uninstall preload on my box
    It slows booting a little, but I don't have the problem you describe anymore
    Isn't that the weird part? I thought I was the only one with this problem, because I couldn't find any posts or Web articles. Could it be openSUSE specific? I have noticed that there is an AppArmor - preload link somewhere and isn't AppArmore a Novell thing?
    Desk: AMD Phenom II X4 945 8GB RAM Radeon HD 3300 Arch Linux Xfce 4.8
    Lap: Intel 2.13GHz Core i3 M330 8GB RAM nVidia GeForce 310M Arch Linux KDE 4.7.3

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Disabling preload to avoid very long startups

    Quote Originally Posted by twelveeighty View Post
    Isn't that the weird part? I thought I was the only one with this problem, because I couldn't find any posts or Web articles. Could it be openSUSE specific? I have noticed that there is an AppArmor - preload link somewhere and isn't AppArmore a Novell thing?
    I uninstalled that too
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Disabling preload to avoid very long startups

    On 2011-05-12 04:06, twelveeighty wrote:
    > isn't AppArmore a Novell thing?


    Was. Isn't.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •