New full-version feature suggestion

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Author Message
hsar
DD-WRT Novice


Joined: 30 Apr 2021
Posts: 8

PostPosted: Mon Nov 08, 2021 22:09    Post subject: New full-version feature suggestion Reply with quote
Add option to NOT load wifi at boot.
Add option to NOT load usb at boot.

With virtualization being more and more a thing, being able to disable options you can't use in a virtualized environment, would significantly speed up boot speed.
I'm using the free x86 version at home, and the full at work - both under hyper-v.
The free version loads almost instantly, while for the full there is a noticeable delay, due to wifi drivers being loaded.
It would be good to have a full -no connections limit version- that would load as fast as the free does, so that users wouldn't even have time to notice that the system is rebooting - especially since the delay is for loading drivers that can't be used.
Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Fri Nov 12, 2021 12:03    Post subject: Reply with quote
Hello

Disabling wifi radio on boot already exists on some routers

e.g. see this link because of nice screenshot.

https://blog.flashrouters.com/2014/01/20/turn-wifi-dd-wrt-press-button/

USB you can already disable core USB support under services > USB

If you dont need these at all, you can simply disable them via nvram manipulation the respective options

you can use
Code:
nvram show | grep usb
nvram show | grep radio

Then disable the respective nvram options via nvram set/nvram commit.

Im not familiar with the x86 builds in any case, so lets hope someone who does chimes in.

If boot speed matters you can tweak the VM a little.

In any case, I how much time you could shave off boot time on a x86 VM because of these 2 options being disabled IDK.

If you added startup scripts to enable them after boot that would likely add more boot time that just leaving it alone as is.

So really, you need to test and let us know if indeed it makes that much of a significant improvement as you claim or not under your setup/vm.

Let us know though.

Have a nice day and be well

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
hsar
DD-WRT Novice


Joined: 30 Apr 2021
Posts: 8

PostPosted: Tue Nov 16, 2021 8:21    Post subject: Reply with quote
Hi, and thanks for the post.

Tested under Hyper-V on an i9-9900T 2.1GHz (4.4 turbo), 16GB, NVMe RAID 1.
Reboot from web interface.
Time from command till reconnect:
Public: 15sec
Full: 22sec

Now, 7sec might not sound that much, but the specific machine can boost up to 4.4GHz (and did while rebooting), which means it will be significantly faster for single threaded tasks than most servers.
I have the full version running on a 2xE5 Xeon @2.6, and i'm quite sure that boot times are significantly higher - can't reboot that machine atm to get exact numbers.

Certainly not a top priority for the devs, but it is boot time wasted on features that usually can't be enabled and/or not needed for certain environments.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Tue Nov 16, 2021 12:35    Post subject: Reply with quote
Hello again, sorry I did not reply earlier.

You can disable wifi radios and USB core already.

By default USB core is disabled usually.

For the wireless radio its the setting I mentioned, its hidden by default you need to toggle it on and then a new setting becomes visible to disable the radio. See attachment.

Wireless radio is Services tab -> Services tab
USB is Services tab -> USB tab

If those dont help you at all shave any time off, the other alternative is to put the VM's on a RAID 0 and then you can really shave boot time off.

There are also ways to optimize some VM's boot time.
I will leave that up to you and your search engine foo.

What I will do when I have time is setup a vm with a x86 build and see if the options I mentioned exist on such builds, I will never use hyper-V fair warning, I use oracle virtualbox exclusively.

Until I test it I wont know for sure whats what. Wink

Expect me soon enough Wink and until then be well.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum