[SOLVED] initramfs takes too long to load

Using systemd-analyze I found out that initramfs takes too long to load:
463ms (kernel) + 11875ms (initramfs) + 6014ms (userspace) = 18353ms
My HOOKS array in mkinitcpio.conf is the following:
HOOKS="base udev autodetect modconf block encrypt lvm2 filesystems usbinput fsck"
I suspect that the long loading time of initramfs is caused by partitions decryption (I am using dm-crypt / LUKS on top of LVM).
Is there any tool that can report loading times of HOOKS seperately, just like systemd-analyze plot does for userspace?
Last edited by nasosnik (2013-01-21 14:45:28)

cfr wrote:
In what sense is it "too long"?
I'm just wondering: suppose that you find out that it is because you are using encryption. Would you then switch to a non-encrypted system? Would you make better use of the extra seconds you might save on those rare occasions when you reboot? Even if you reboot twice a day, you might save what? Suppose you would even save 5s per boot. That will give you a whole extra 1 minute and 10 seconds a week. Assuming you don't multitask. Obviously if you multitask, the gain will be less. Would that make it worth risking the security of your data?
EDIT: I didn't mean this to sound as confrontational as it does now I read it back. It just always puzzles me that people are so concerned about shaving a few milliseconds here and there. I always hope that they put the time they save to good use but then I realise that the time they spent shaving the milliseconds off will obviously outstrip the time saved.
I really don't care about the boot time because of the reasons you have already mentioned. I just want to figure out if there is any misconfiguration. I am just investigating why initramfs takes significant longer to load compared with my desktop Arch installation (non-encrypted) 1316ms for initramfs. My desktop has a Pentium 4 CPU and laptop has a quad-core i7.
roentgen wrote:11875ms (initramfs)  means the time it takes you to type the password.
systemd-analyze is not counting the time is spent to type the password.

Similar Messages

  • Page takes too long to load because of videos

    Hi. I have a website that I made, but the page takes too long to load because there are videos on it. Is there any way to stop the videos from auto-loading and instead only load when someone clicks on them to play?

    There are several ways to have videos on a page without having them load until they are selected to play. A couple are:
    1 - Opening Item in a New, Precisely Sized Window. This test site has 9 videos on the page: PhotoPresenter Animated Slideshow Themes.
    2 - QT Movies via Export for Web in QT Player. This method is more difficult to implement.
    OT

  • HT4352 apple tv takes too long to load photos

    I am running iTunes (11.1.5.5) on Windows 7 and have setup home sharing and accessing the Photo Library from Apple TV 3rd Generation.
    We have a lots of photos (approx 21000) organizaed in folders, eg:
    Main Photo Folder
    Folder 1 (5500 photos)
    F1-Sub 1
    F1-Sub 2
    F1-Sub 3
    Folder 2 (3500 photos)
    F1-Sub 1
    F1-Sub 2
    F1-Sub 3
    Folder 3 (12000 photos)
    F1-Sub 1
    F1-Sub 2
    F1-Sub 3
    Apple TV doesn't show the sub-folders beyond the first set of folders and as a result it takes too long to load our list of photos, is there anything that can be done to fix this?
    Thanks!

    I am having exactly the same issue. Moved house and now starting a movie takes minutes, not seconds... I've got both the Mac and ATV connected via ethernet to my Airport Extreme base station, but have no explanation for this bizarre slowdown. I also don't have internet currently, but I can't understand with content not purchased on iTunes, why that would make any difference...?

  • Apple TV Gen 3 takes too long to load 15,000 photos. Do I need to go back to ATV Gen 1?

    I just purchased Apple TV (Gen 3) It takes too long to load my over 15,000 photos for viewing.   This was never a problem with my ATV (Gen 1).  Do I need to go back to ATV Gen 1?

    Do you have a technical question?
    What have you done to troubleshoot?
    Typically issues like this are related to the local network. First thing would be to try ethernet, if on wifi. Make sure router is up to date. Reboot ATV, router.
    You can go to istumbler (Mac) or netstumbler (PC) to get a report of the network.

  • Keep gettng messages to update but it takes too long to load, why?

    Keeping getting messages to update FIREFOX. When the link is clicked it takes a very long time to load. Therefore, to date the updates have not happened.

    What is taking too long to load with respect to the page you linked?

  • Takes too long to load a ses file

    Why does it take so long to load a *.ses file? To me it seems that it takes waaaaaaaaaay too long.

    It just now took 3 minutes 55 seconds to load a 1.40 MB ses file. All files probably total 5-600 MBs. A whole lot of effects. I have an AMD Athlon 4200 64 X2 Dual Core. 4 GB ram.
    Waaaaaay too long. I hate to close the ses file when I'm through for the day cause I have to load it back in.
    I have pk files turned off. I guess I'll have to turn them back on. I hate all those little files cluttering up my drive. I guess it's a trade off, though. Damned if you do, damned if you don't. Thanks for the replies.

  • Interactive forms takes too long to load - sometimes crashes reader.

    Hi Gurus,
    I'm just wondering if anyone have this problem?
    I just configured ADS and created a sample WD program to display an interactive form, the form is not complex, only 2 text fields and an image.
    But when I deploy or run the program, the interactive form container hangs and take very long to process before displaying.
    After I save the PDF file to a local drive, when I try to open it, it will take very long and sometimes crash my system.
    Even when I click on "PDF Preview" to view the form in NWDS it take very long too.
    At first I thought it could be due to my system and I open downloaded PDF file on other PCs, but the problem occurs too in those PCs.
    Using Acrobat Reader 8.1.2, then downgraded to 8.1.1, still no avail.
    Everytime I open the PDF or WD loads the PDF, when I check the Task Manager the process of AcroRdr32 will hog the system processes and use up the memory. I have no problems with other PDF files, only those generated by the WD application gives problems.
    Someone hit the same problem? Any advise? Could it be the ACF or Adobe lifecycle issues?
    Please help. Thanks for all answers.
    Best Regards,
    Jansen

    Hi Jansen,
    If you are using Adobe Reader 8.1.* or above and activex controls in your form, you need to install the latest version of ACF and that will resolve the issue. And do remember to uninstall your old version of Adobe Reader first and then install Reader 8.1.* freshly and after installing it proceed with ACF installation. You have to follow the sequence.
    For ACF installation you may read  Note 766191 - Active Component Framework Installation.
    ACF Installable:
    https://sapmats-de.sap-ag.de/download/download.cgi?id=F9RUZ3Q7TERUBSMHSXWT3UMEM59IJYIPA931VQD32A1UNAKZ6B
    Do reward points if found helpful.
    Regards,
    Arafat

  • Flash takes too long to load online

    Hi All,
    I am creating a web page using flash and it takes a long time
    to load when you go to the webpage. it opens as if it is working,
    but then the links don't work properly...that is...until at the
    bottom of the browser window it says "done" instead of "waiting for
    http://www.blah blah blah..." once it
    says "done" it works just fine.
    two questions:
    1. is there a way to reduce the size of the flash file so
    that it loads quicker online?
    2. OR..does anyone know how to create that little "intro"
    screen when you go to a website that says "loading" and you see a
    little bar loading....and then only when it is COMPLETELY loaded,
    does the flash begin?
    thanks so much!

    Hi Meesh, I know exactly how you feel, I was there when i
    first started. Worry not!! Best and to keep your loading time down,
    is to keep your .SWF files separate, and load them into your site
    according.
    eg..
    Template ---=> make sure this ONLY consisits of the site's
    look, and navigation.
    BG pics -----=> make a separate SWF containing your pics
    if they are quite large in size.
    Each Page --=> make each page separate SWF, and load them
    separately via your navigation.
    Basically when planning your site, think how you can break it
    up into sections that you can load separately.
    Then use the pre-loading code that Michaeltowse gave you, at
    the beginning of each separate SWF you make, to make it all
    complete with a loading bar.
    Hope this helps. Good luck

  • Opening a sequence takes too long to load

    TestStand 3.1 sequence takes very long (4 minutes) to load. Same sequence takes a few seconds only at another PC.
    The delay is at a Thread.PostUIMessage ActiveX call.
    Any idea, what's wrong?
    Thanks!

    Hi,
    Do you have some network paths in you TestStand Search Directories, if so you might try removing them.
    Regards
    Ray
    Regards
    Ray Farmer

  • Program now takes too long to load...

    When I launch the program now there's a LOT of disk activity (assuming it's looking for associated files) then after that there's the normal load time for the project I'm opening. Any ideas? Does the program have an optimization scheme? Thanks

    It just now took 3 minutes 55 seconds to load a 1.40 MB ses file. All files probably total 5-600 MBs. A whole lot of effects. I have an AMD Athlon 4200 64 X2 Dual Core. 4 GB ram.
    Waaaaaay too long. I hate to close the ses file when I'm through for the day cause I have to load it back in.
    I have pk files turned off. I guess I'll have to turn them back on. I hate all those little files cluttering up my drive. I guess it's a trade off, though. Damned if you do, damned if you don't. Thanks for the replies.

  • Photos take too long to load

    I have had my website running for months now. I regularly add new photo pages, with up to 300 photos a time. the photo pages always take some time to load (a couple of minutes) but this is fine. then when you click a photo, it takes another minute to load all thumbnails and be ready to navigate to other photos (in the enlarged view).
    normally, at this stage, clicking the thumbnails, or next would load up the other images instantly. very quick. NOW, every time i click on a thumbnail, it takes over 5 seconds to load next photo.
    why has this changed??
    as i am writing this, i realise it only happens on windoze/IE7. as my dad and next door neighbour have both just got vista. that disgusting attempt at an os.
    grrr. i hate vista and i hate bill gates.
    anyway, could someone who's got access to a vista machine try downloading Firefox - if you haven't already, and see if it fixes the problem. photo pages - enlarged version - clicking from thumbnail to thumbnail - should be very quick.
    please try this. thanks a lot

    What format are you pictures? When you don't need them in a special format changing them to a .gif will reduce the file size a lot and the quality is still great.
    I mostly use .gif so i can guarantee a fast loading of the site.
    Tip: Don't name your pictures just like 1,2,3 etc.. By giving them a small description as a name (p.e. '30Tablet_MultivitaminBottle.gif') helps your google search ranking.

  • Coldfusion Page  takes too long, to Load.

    Hi All,
    I have just moved into Coldfusion technology. My expertise is
    predominantly on Oracle and PL/SQL development.
    In the application i am working on, we are currently facing,
    an issue. We have a requirement, that is handled by dynamic
    dropdowns. We use Javascript to control the values loaded in a
    dropdown. (By default, the Country, State, City, Facility and
    Facility Type for a user will be loaded. He can choose any of the
    values in the dropdown and that would control the other dropdown's.
    If a Country is chosen, the states corresponding to that country
    should be loaded in the next drop down .. and so on ... )
    We have drop downs like, Country, State, City, Facility and
    Facility Types. The backend, sends across, all the values as the
    combinations of Country,State,City, Facility and FacilityTypes that
    have been rolled out , to enable selection as a refcursor. The page
    load was surprisngly taking about 91 seconds!! We did check the
    record volumes and they are not more than 1500 rows. Also, the
    database queries, execute in 130 microseconds each. Thus, the code
    is indeed optimized from the database perspective.
    The Issue i am facing is the performance hit when the page
    loads. For just 1500 rows of the combinations i have mentioned, it
    takes 94 seconds. It takes only 24 seconds in my offshore. However,
    i have verfied machine configurations and i seem to have a better
    configuration that my offshore team. Yet, it takes more time to
    load here. Also, does the CF application server parse all the
    functions OnLoad, Onchange even before the Page is loaded? Anyone
    who has already encountered this issue?
    Cheers,
    J

    What version of CF (guessing 6.1 according to your username)?
    What database?
    What database driver?
    Is the database indexed correctly?
    Is the database local?
    Are you caching your queries, since a list of states is
    unlikely to change?
    What hardware on the server?
    Are your heap sizes optimized in the CF Administrator?

  • Swf files take too long to load on server:

    Good Morning Everyone,
      I have a problem. I just uploaded a mostly all flash web site (It has one html page, the main one) and the rest of the buttons all load .swf files.  The problem I am having is that when I click on buttons on most of the pages, the screen will go black for about 15-20 seconds before loading it. The visitor would think it was a broken link and leave the site if that happened!!!
      Here is the link to the site:
      http://www.webwizkid.com/breaker boys flash homepage 2.html
      Try clicking on any of the links from that page, especially the History, Stories and Unit Plan pages.
    PS: This site was designed with  Flash MX and ActionScript II
    My web hosting service is IPOWER.com
    I am wondering if this has something to do with Bandwidth?
    Can anyone tell me what the problem could be?
    Hope to hear from someone soon.
    Sincerely,
    Tom

    How large (file size) are the .swfs that you are loading when a button gets clicked?
    During creation of the .swfs, did you test the .swf with the Bandwidth Profiler? it will tell you approx how long it will take to download at various bandwidth (Internet connection speed).
    http://www.communitymx.com/content/article.cfm?cid=C2A44
    to reduce file size, are you optimizig all the content?
    http://help.adobe.com/en_US/flash/cs/using/WSd60f23110762d6b883b18f10cb1fe1af6-7b23a.html# WSd60f23110762d6b883b18f10cb1fe1af6-7b21a
    Best wishes,
    Adninjastrator

  • Takes too long to load

    Hi All,
    I am just startinting to learn flash. I normally just use
    image ready and make animated gif's. I have made a flash file and
    loaded both the swf and html files to the correct folder on the web
    site. I made a spot on the web page for a swf file using go live.
    When I open the web page online, the flash file opens very
    slowly. I think it is reading the swf instead of the html. How do I
    get it to open the html file instead? The swf is 4.25 meg and the
    html file is only 990 bytes.
    Chuck

    686k? That's not large at all! I imagine you mistyped?
    If it's only 7 slides and is actually more like 6mb, the
    issue is likely
    higher-than-needed quality audio.
    Looking at the page, there's no reason to use Captivate for
    this. I
    think you're adding a lot of 'overhead' to something that
    could much
    more easily just be built in flash itself.
    Either way, first thing, just try reducing the audio quality
    in the
    publish settings.
    If you can, perhaps do a speed test from your server. I see
    it's
    GoDaddy, which is generally fine, but may just be on a
    heavily-shared
    server and can't serve up your content very quickly. The rest
    of that
    site doesn't load very fast either.
    HTH
    Erik
    tronathon wrote:
    > I have a short slide show (only 7 slides long) with
    sound. The file size is 686
    > KB and takes forever to load once it's up on the
    website.
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - eLearning
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    Authorware Tips!

  • Safari "Save to..." takes too long to load

    Hello.
    Since I connected my MacBook Air to a shared Windows folder (using SMB), when I'm using Safari and want to save a file to a specified folder, the Finder window takes about 5 seconds to load.
    I suppose it's because it tries to connect to the shared folder, and it doesn't matter if the shared folder is available or not, it takes at least 5 seconds to open the Finder window.
    Before I connected to a shared drive, it loaded the Finder window immediately. I've tried to reboot the Apple, but nothing changes.
    Is there any way I can "disconnect" or make my OS X Yosemite forget about shared folders, so it loads Finder faster?
    Thanks!

    Information.
    Safari 5.0.1 or later - Slow or partial webpage loading, or webpage cannot be found
    Safari Problems
    Safari - Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

Maybe you are looking for