View previous topic :: View next topic |
Author |
Message |
fbeth n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Feb 2023 Posts: 16
|
Posted: Thu Dec 07, 2023 9:07 am Post subject: COmpile NetworkManager with -O3 |
|
|
Hi,
I wanted to know if it would benefit the NetworkManager service startup time if I compiled it with the -O3 flag, does someone have data or benchmark about this ? Anyone tried it ? Do I need to make my own benchmarks ?
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1795298829674c652a4ed66.gif)
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Thu Dec 07, 2023 11:03 am Post subject: |
|
|
I don't think networkmanager startup time will benefit -O3.
There would be ms not sensible fraction of a second.
Thks 4 ur attention, interest & support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Thu Dec 07, 2023 1:34 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Goverp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/152613747847c6fd276c31a.jpg)
Joined: 07 Mar 2007 Posts: 2202
|
Posted: Thu Dec 07, 2023 11:20 am Post subject: Re: COmpile NetworkManager with -O3 |
|
|
fbeth wrote: | I wanted to know if it would benefit the NetworkManager service startup time if I compiled it with the -O3 flag ... |
Do you have a problem with the time it takes to start? That's much more likely to be network issues than anything software. Unless you're running on something ancient like an 8086, all the stuff NetworkManager itself does should be over in negligible time. _________________ Greybeard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fbeth n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Feb 2023 Posts: 16
|
Posted: Fri Dec 08, 2023 2:50 pm Post subject: Re: COmpile NetworkManager with -O3 |
|
|
Goverp wrote: | Do you have a problem with the time it takes to start? That's much more likely to be network issues than anything software. Unless you're running on something ancient like an 8086, all the stuff NetworkManager itself does should be over in negligible time. |
I wouldn't really notice the difference, I'm just curious on how low I get to start my computer. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54827 Location: 56N 3W
|
Posted: Fri Dec 08, 2023 4:51 pm Post subject: |
|
|
fbeth,
Load time is related to code size.
-O3 makes code bigger to try to get it to execute faster.
For small code (to load fastest) use -Os, that's optimise for size.
The kernel has that option too.
Fastest is to not use network manager, then it won't be loaded at all. :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|