Page 1 of 2

Boot time tips?

Posted: Wed Jul 20, 2016 12:42 pm
by Quindi
Anyone got tips for improving the boot time in RetroPie? In my GBZ setup it takes about a minute, which is a bit much... I know overclocking would help, but i'm afraid there isn't much room for it, 'caus of the heat. I guess upgrading the sd-card would help, but is it that significant? Ideally I would like the boot time to be seconds, anyone know if this is possible with the RPZ?

Re: Boot time tips?

Posted: Wed Jul 20, 2016 1:18 pm
by Ganreizu
This thread may help: http://raspberrypi.stackexchange.com/qu ... spberry-pi
http://www.samplerbox.org/article/fastbootrpi
http://www.makeuseof.com/tag/4-tweaks-t ... pberry-pi/

https://github.com/RetroPie/RetroPie-Se ... -take-ages

I don't know if it has anything to do with raspbian/retropie though. There's probably a ton of things being launched on boot so there probably isn't much we can do to cut that down since emulation is very different from general operating systems. Getting the highest read/write speed micro SD is likely the best option.

Re: Boot time tips?

Posted: Wed Jul 20, 2016 2:13 pm
by Quindi
Looked at a few of those, I'll have to look into them. But I did some digging and found dhcpcd used a lot of time during boot time, disabling dhcpcd did a huge difference, like 30 sec.

Code: Select all

sudo systemctl disable dhcpcd.service
sudo systemctl stop dhcpcd.service

I'll buy a new microSD, and I think that's about enough!

Re: Boot time tips?

Posted: Thu Jul 21, 2016 12:15 pm
by Quindi
I can also add that removing samba is a good way off saving some time, personally i didn't really need it.

Re: Boot time tips?

Posted: Thu Jul 21, 2016 12:31 pm
by Ganreizu
What does dhcpcd and samba do though? Seems like they're both related to networking/internet type services. I probably won't be having a wifi dongle so thanks for the info on fixing boot time.

Re: Boot time tips?

Posted: Thu Jul 21, 2016 12:46 pm
by Quindi
DHCP is a protocol that gives the server/router a way of assigning an IP address to a computer, Samba is a software that enables you to access files over the network. Both of these are useless for me since I won't be connecting the project to a network.

Re: Boot time tips?

Posted: Thu Jul 21, 2016 1:05 pm
by Kilren
Ganreizu wrote:What does dhcpcd and samba do though? Seems like they're both related to networking/internet type services. I probably won't be having a wifi dongle so thanks for the info on fixing boot time.
They are a wifi/network file transfer system. You can choose to either transfer by USB or by wifi. I personally like the samba, it is incredibly simple. When your GBZ is connected to wifi, if you go to a file explorer and type \\RETROPIE you enter into the samba file share network.

However, like you said, if you aren't going to use a wifi dongle then disabling it might save you a couple of seconds.

Re: Boot time tips?

Posted: Fri Jul 22, 2016 9:10 pm
by username 123
Quindi wrote:Looked at a few of those, I'll have to look into them. But I did some digging and found dhcpcd used a lot of time during boot time, disabling dhcpcd did a huge difference, like 30 sec.

Code: Select all

sudo systemctl disable dhcpcd.service
sudo systemctl stop dhcpcd.service

I'll buy a new microSD, and I think that's about enough!
Do i just put that code in my config.txt?
Also, how does one disable samba?

Re: Boot time tips?

Posted: Sat Jul 23, 2016 3:55 am
by foodtogo

Re: Boot time tips?

Posted: Sat Jul 23, 2016 5:35 pm
by Quindi
username 123 wrote: Do i just put that code in my config.txt?
Also, how does one disable samba?
Press f4 or quit emulation station some other way, then type it as a command.
foodtogo wrote:Tip on removing samba completely:

https://www.reddit.com/r/raspberry_pi/c ... ompletely/
This is great if you don't plan on ever using it, removes it completely.

Code: Select all

sudo apt-get remove --purge samba