[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>I prefer to compile the OS myself

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 23
Thread images: 5

File: 4KdeMjI.png (181KB, 297x364px) Image search: [Google]
4KdeMjI.png
181KB, 297x364px
>I prefer to compile the OS myself
>>
i guess it makes some people feel good

id prefer to be able to write one, which i cant atm
>>
>>56634058
Install gentoo.
>>
>>56634058
daily reminder that this is the average /g/ poster
>>
File: linecks.png (65KB, 658x800px) Image search: [Google]
linecks.png
65KB, 658x800px
>its linux not gnu slash linux
>>
File: 1473738293406.gif (126KB, 720x480px)
1473738293406.gif
126KB, 720x480px
>>56634091
daily reminder that these types of posters are always worse than OP.
>>
>>56634058
if u look this all ur opinions are wrong lmao
>>
>I run a custom kernel
>>
>not building your own distro
>>
File: 1460623597093.jpg (42KB, 409x409px) Image search: [Google]
1460623597093.jpg
42KB, 409x409px
>>56634058
>I use bloated binaries with non-optimal optimizations for my cpu when source code is easily available
>>
>>56634058
>I imply
>>
>>56634196
daily reminder that these types of posters are always worse than those types of posters who are always worse than OP
>>
>>56634214
fegorda negbredr xdd
>>
File: 1426554397983.jpg (19KB, 300x188px)
1426554397983.jpg
19KB, 300x188px
>>56634058
what does one even gain from compiling stuff yourself opposed to just using precomplied binaries t. windows user
>>
>>56634667
>what does one even gain [...]
you can show off at /g/ and pretend to be something special
>>
>>56634588
stop using core 2 duo you poor cuck
>>
>>56634588
>Muh 2% performance gains.
Rather reminiscent of /v/tards and their gpu holy wars.
>>
>>56634667
For one you can pick whatever optimization level you prefer instead of using the one the package maintainer decided was best.

Then you can yse -march=native which will enable optimizations linked to your specific processor, something the package maintainer cannot do because it has to run on many different processors.

But most importantly you can pick only the features in a package you need, instead of relying on what the package maintainer decided was good enough.
>>
>>56634667
Modern cpus have many extensions to their instruction set that go unused in precompiled binaries because of the need to make the binary compatible with older cpu that lack the instructions. In x86 those instructions are mainly vector sets like avx, avx2, all sse > 2 and more, and for certain workloads can make an big difference.
Obviously compiling the code of a program by yourself only makes sense if you really need the speedup, but there are distros like gentoo that basically do the compilation for you, combining the ease of use of precompiled generic binaries with the increased efficiency of a manual compilation, that is if you don't mind the extra time its package manager takes to compile packages conpared to thos that just download and install prebuilts
>>
>>56634887
Is there any tutorial how to achieve max speed optimization when compiling?
>>
>>56634922
That depends on the package, a default of `-O2 -march=native -pipe` is good for most things.

Using `-Os` could get you even more performance in some cases, but it would disable alignment optimizations which might lose you performance.

Using `-O3` is likely going to break packages, same goes for `-Ofast`, but you could try on a per-package basis and see what happens.
>>
>>56634922
The gentoo wiki has a page dedicated to compiler optimizations, search for it.
In reality though -O3 and -march=native are all you need to get to like 95% of the potential of your cpu, try -Ofast if you really need to squeeze your cpu power to the last transistor.
>>
>>56634196
>Calling people 'faggots' in 2016

come on, now. it's 'cuck'.
Thread posts: 23
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

If you need a post removed click on it's [Report] button and follow the instruction.
If you like this website please support us by donating with Bitcoin at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties. Posts and uploaded images are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that website. If you need information about a Poster - contact 4chan. This project is not affiliated in any way with 4chan.