Skip to main content

Improve reboot time?

Comments

6 comments

  • UHLHosting
    You could try Kexec [LIST]
  • Kexec is a system which allows a system to be rebooted without going through BIOS. That is, a Linux kernel can directly boot into another Linux kernel, without going through firmware.
  • 0
  • cPanelMichael
    Hi Greg, You could try tuning your MySQL configuration, but generally the time for services to start after a reboot is related to the hardware you are using. Or, if you are interested in reducing the frequency of reboot requirements, you may want to consider a third-party application such as KernelCare: CloudLinux - Main | New template Thank you.
    0
  • Greg M
    Hi UHLHosting & Michael, Thank you both for the replies. I have considered KernelCare in the past but it's not something I am going to go ahead with at this time for different reasons but still thank you for the suggestion. I haven't really looked into Kexec in great detail before however initial information does seem like it may be quite useful Part of the issue is that I like to reboot the server at least 1ce a month (one of the reasons for not using kernelcare)
    0
  • PenguinInternet
    If you have KVM/IP on your server (or can get it connected) then you'll find that a chunk of the reboot time is the server BIOS & devices initialising (network, RAID controller, etc). You can speed up this by doing things such as disabling BIOS memory testing, checking PXE boot is disabled (this is commonly enabled as default on a Dell and it will sit there for about 30 seconds looking for a DHCP server), checking the boot order, etc - these will all improve the time for reboots.
    0
  • Greg M
    Hi PenguinInternet, Thanks for the reply, great insight. I can request KVMoIP access but there is a delay at the DC end and I believe they limit access/number of uses (unless I wish to buy one from them ;) ) so I have been avoiding it for as long as possible unless there is a failure etc, that being said I will clearly need to take a look at the bios settings as you have suggested so I will probably try and schedule one for the weekend and plan some downtime. I do believe you are also correct in regards to PXE on Dells. I have a repurposed dell tower set up as a local server in the office and it also used to have PXE enabled by default but that thought never occurred to me for the server I just thought it was a workstation feature. Anyway I will see if I can find a bios demo or image I can mount for the server so I can familiarise myself with it so I don't have too much downtime Thanks again
    0
  • PenguinInternet
    PXE can be useful for servers for performing OS installs where you can boot from a separate environment to remotely install. Generally though, it just slows the reboot down so if you're not using it then definitely disable it. If you get stuck, give me a shout - I can probably give you access to an R210 over KVM/IP so you can remotely have a play with it before doing it on your production server, or otherwise guide you through the settings on one by sharing my desktop.
    0

Please sign in to leave a comment.