Boot time tips?

Post tips/tricks or get help with configuring RetroPie
Quindi
Posts: 12
Joined: Wed Jul 20, 2016 12:22 pm
Has thanked: 2 times
Been thanked: 9 times

Boot time tips?

Post by Quindi » Wed Jul 20, 2016 12:42 pm

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?

User avatar
Ganreizu
Posts: 552
Joined: Thu May 05, 2016 8:20 am
Has thanked: 168 times
Been thanked: 97 times

Re: Boot time tips?

Post by Ganreizu » Wed Jul 20, 2016 1:18 pm

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.

Quindi
Posts: 12
Joined: Wed Jul 20, 2016 12:22 pm
Has thanked: 2 times
Been thanked: 9 times

Re: Boot time tips?

Post by Quindi » Wed Jul 20, 2016 2:13 pm

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!

Quindi
Posts: 12
Joined: Wed Jul 20, 2016 12:22 pm
Has thanked: 2 times
Been thanked: 9 times

Re: Boot time tips?

Post by Quindi » Thu Jul 21, 2016 12:15 pm

I can also add that removing samba is a good way off saving some time, personally i didn't really need it.

User avatar
Ganreizu
Posts: 552
Joined: Thu May 05, 2016 8:20 am
Has thanked: 168 times
Been thanked: 97 times

Re: Boot time tips?

Post by Ganreizu » Thu Jul 21, 2016 12:31 pm

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.

Quindi
Posts: 12
Joined: Wed Jul 20, 2016 12:22 pm
Has thanked: 2 times
Been thanked: 9 times

Re: Boot time tips?

Post by Quindi » Thu Jul 21, 2016 12:46 pm

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.

User avatar
Kilren
Posts: 574
Joined: Wed May 11, 2016 4:40 pm
Location: Washington, USA
Has thanked: 35 times
Been thanked: 84 times

Re: Boot time tips?

Post by Kilren » Thu Jul 21, 2016 1:05 pm

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.

username 123
Posts: 134
Joined: Thu Jun 09, 2016 5:45 pm
Has thanked: 33 times
Been thanked: 29 times

Re: Boot time tips?

Post by username 123 » Fri Jul 22, 2016 9:10 pm

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?

User avatar
foodtogo
Posts: 5
Joined: Fri Jul 22, 2016 1:17 pm
Been thanked: 3 times

Re: Boot time tips?

Post by foodtogo » Sat Jul 23, 2016 3:55 am


Quindi
Posts: 12
Joined: Wed Jul 20, 2016 12:22 pm
Has thanked: 2 times
Been thanked: 9 times

Re: Boot time tips?

Post by Quindi » Sat Jul 23, 2016 5:35 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest