Originally posted by storm_st
View Post
Announcement
Collapse
No announcement yet.
Linux 3.15 Can Almost Be Compiled Under LLVM's Clang
Collapse
X
-
-
Originally posted by dee. View PostTsk, kids these days...
Originally posted by dee. View PostRun-time performance is "useless" now?
I said... benchmarks with -O3 and -march=native are useless. Why? Because nobody with a sane setup uses this. Yeah, you _can_ compile distros like Gentoo in such way, but the distribution itself says that this is a horrible idea.
Most distributions are compiled with -O2 (or -Os) and -march=x86_64. Even "worse" they enable some (if not all) security flags which hurts the performance.
So, maybe the binary from GCC is faster on a i7... nobody should care, because the distribution delivers standard (and more secure) binaries.
Comment
-
Originally posted by Ericg View PostWhat the other guy said. Gentoo and Arch (and derivs) are the only two distros I know where its relatively easy to recompile all packages on your system-- eg: built into package manager. Gentoo its the default, Arch has yaourt. No one on any other distro is going to see -O3 -march=native across the board for all users. Most likely they are getting -O2 and architecture set to either generic or MAYBE, just MAYBE, core2duo.
Still failing to see the logic here.
Comment
-
Originally posted by -MacNuke- View PostMost distributions are compiled with -O2 (or -Os) and -march=x86_64. Even "worse" they enable some (if not all) security flags which hurts the performance.
So, maybe the binary from GCC is faster on a i7... nobody should care, because the distribution delivers standard (and more secure) binaries.
It's entirely possible to get most packages from the repos and only compile performance-critical applications with -O3 -march=native. And now not only this is "useless" but you also assert that "no one should care" about it?
"I don't use it, so no one should care about it"... yeah, that's a really smart attitude... unfortunately too common these days.
Comment
-
Originally posted by dee. View PostSo who says you have to compile *all* of your packages?
Compilerbechmarks with -O3 -march=native are only useful to fap to some bars in a diagram... most of the people are using -O2 -march=x86_64 packages, so this is more useful benchmark.
Compilerbenchmarks with -O3 -march=native by running other benchmarks and then conclude "GCC is better"... it's just stupid.
Comment
-
Originally posted by -MacNuke- View PostAnd you think that you regain all the lost time by compiling and managing all your self compiled programs just because your one special program is a little bit faster? Come on...
Comment
-
Originally posted by -MacNuke- View PostAnd you think that you regain all the lost time by compiling and managing all your self compiled programs just because your one special program is a little bit faster? Come on...
I'm talking about software like graphics editors, DAW's, animation, video editing... not everyone can afford top-of-the-line hardware (and if your solution for fixing performance issues is "get faster hardware" then you're a moron in any case) and there's plenty of use cases where every bit of extra performance you can get helps.
For example, try rendering realtime audio or doing some cpu-intensive graphics manipulations where you need to adjust parameters and see the output in realtime. Try rendering 3d animation in realtime.
Compiling something like GIMP takes a long time in any case (no matter what compiler you use), but the thing about compiling is you only need to do it once. Then you can enjoy the performance benefits from that point on and if it's a software you need to use a lot, for example for your work, then it's a really noticeable benefit since you'll be able to eg. process graphical effects faster, and this is a direct benefit to your workflow.
Maybe when you get older you'll realize that just because you do things a certain way it doesn't mean everyone does. Just because you don't see the benefit in some improvement doesn't mean it's useless for everyone. Try to pull your head out of your ass and see that the universe doesn't revolve around your needs only.
Comment
-
Originally posted by siavashserverAs a normal Linux user who occasionally uses Blender to create simple models, speed up gained by manually compiled and tuned software versus generic ones isn't much interesting yet. But for a professional artist who is going to have more than 100 renders per day and deals with complex scenes, I think it's definitely worth it.
In some field, like supercomputers, we investigate what benefits this kind of optimisation can bring us.
"-O3 -march=native -flto" is far from useless. Some cluster, already in production, compile each piece of software several time in a row, each time tuning for a different architecture, to make sure that each single different type of hardware gets optimised code.
Originally posted by -MacNuke- View PostWhy? Because nobody with a sane setup uses this. Yeah, you _can_ compile distros like Gentoo in such way, but the distribution itself says that this is a horrible idea.
Originally posted by -MacNuke- View PostMost distributions are compiled with -O2 (or -Os) and -march=x86_64. {..} So, maybe the binary from GCC is faster on a i7... nobody should care, because the distribution delivers standard (and more secure) binaries.
Not every last Linux user is a random "Ubuntu-on-the-Desktop" user.
Comment
Comment