News for hackers. Stuff that matters.
Re:AMD Ryzen 5 1600X vs Core i5 Review by neogodless on Tuesday April 11, 2017 @09:46AM (#14087662)
What are the most comparable benchmarks to web development work (i.e. Visual Studio compile/publish/debugging), or what do you recommend for making educated decisions around purchasing a CPU specifically for building software?
Re:AMD Ryzen 5 1600X vs Core i5 Review by mastax on Tuesday April 11, 2017 @10:29AM (#14088097)
There are compilation benchmarks in TFA.

Edit: http://www.anandtech.com/show/11244/the-amd-ryzen-5-1600x-vs...

Re:AMD Ryzen 5 1600X vs Core i5 Review by acdha on Tuesday April 11, 2017 @10:35AM (#14088163)
There's a single benchmark for measuring how long it takes to compile Chrome. That doesn't tell, say, the average IDE user how well it'll handle their interactive experience – it's reasonable to expect that to multithread well – or what the workload the original poster specifically mentioned will be like. Many web developers have e.g databases, redis, CSS/JS compilers, etc. running (directly, in Docker, etc.) in addition to the app, and many of those bottleneck on single-threaded performance, and so it's quite reasonable to ask whether that kind of workload benefits from the extra parallelism which is the main selling point for this processor design.
Re:AMD Ryzen 5 1600X vs Core i5 Review by flamedoge on Tuesday April 11, 2017 @01:16PM (#14090174)
It seems to average 10-20 compiles a day... And it's Chromium compilation. That probably averages 1-2.5 hours per compilation. Compiler as a benchmark depends a lot on moving data and jumps from all the parsing, codegen, dataflow analysis, etc.. It's definitely not a floating point heavy benchmark.
Re:AMD Ryzen 5 1600X vs Core i5 Review by low_battery on Tuesday April 11, 2017 @02:14PM (#14090847)
Re:AMD Ryzen 5 1600X vs Core i5 Review by cjbprime on Tuesday April 11, 2017 @09:57AM (#14087773)
Seems like the answer that more threads are better, and Ryzen has more threads.
Re:AMD Ryzen 5 1600X vs Core i5 Review by baldfat on Tuesday April 11, 2017 @10:47AM (#14088288)
If you do compiling then multiple of threads are better.

For video editing multi threads is HUGE.

If you have several single thread applications open then multi thread is better. Multiple of tabs multi threads is better.

Most of the time single thread performance is more important.

Re:AMD Ryzen 5 1600X vs Core i5 Review by mtanski on Tuesday April 11, 2017 @11:09AM (#14088581)
That's why I upgraded at home from a 6700k to a R7 1700x. My build times went down to like 55 to 65%, so not quite 2x as fast.
Re:AMD Ryzen 5 1600X vs Core i5 Review by mtgx on Tuesday April 11, 2017 @11:22AM (#14088732)
No, but you got an 80% improvement for a similar price.
Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @10:17AM (#14087958)
Higher frequency is better. Most web languages are single threaded. Most operations, opening your IDE, running tests are also single threaded.
Re:AMD Ryzen 5 1600X vs Core i5 Review by jhasse on Tuesday April 11, 2017 @10:33AM (#14088144)
> running tests are also single threaded

Only if your tests modify global state / aren't thread safe. Good unit tests can be ran multi-threaded.

Re:AMD Ryzen 5 1600X vs Core i5 Review by the8472 on Tuesday April 11, 2017 @10:48AM (#14088296)
> opening your IDE, running tests are also single threaded

That very much depends on the IDE and testing framework

Re:AMD Ryzen 5 1600X vs Core i5 Review by rsynnott on Tuesday April 11, 2017 @11:07AM (#14088542)
Yeah, I'm not sure what IDE they're talking about, but certainly IntelliJ will happily use 800% CPU, causing the fans to spin up impressively, when starting up/reindexing/doing any of the slow things that IntelliJ likes to do.
Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @11:23AM (#14088758)
Glad to learn that the reindexing is multi threaded :)
Re:AMD Ryzen 5 1600X vs Core i5 Review by yeukhon on Tuesday April 11, 2017 @10:59AM (#14088437)
Yes... and he's trying to say a lot of software out there aren't written multi-threaded because either there wasn't much performance gain or the developers simply choose not to.
Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @11:25AM (#14088787)
Compilation and linting are mostly mono threaded. At least in the languages I use. That is a lot of direct waiting.
Re:AMD Ryzen 5 1600X vs Core i5 Review by shakna on Tuesday April 11, 2017 @12:24PM (#14089617)
> Compilation and linting are mostly mono threaded.

Which languages fall on your list? (Just curious)

I use:

* C (make and gcc can thread)

* Python (no real thread story)

* JS (depends)

* Scheme (usually threads)

Re:AMD Ryzen 5 1600X vs Core i5 Review by user5994461 on Tuesday April 11, 2017 @12:56PM (#14089946)
C, C++. Compilation can be multi threaded. Linking is inherently mono threaded. A number of optimizations flags are mono threaded (and take very long).

Python. Lint is mono threaded. The virtualenv setup is mono threaded (running requirements.txt).

Java. Mono threaded for package generation (jar files). Not sure about compilation and running tests. Most of Eclipse is mono threaded (last I used it) like indexing and rendering and auto completion.

Outside of that, opening any IDE, tool, application or browser is a mostly single threaded operation. The rendering of most GUI is also single threaded.

Re:AMD Ryzen 5 1600X vs Core i5 Review by neilc on Tuesday April 11, 2017 @06:33PM (#14093135)
> Linking is inherently mono threaded.

This is actually not the case -- modern linkers (e.g., lld) can take advantage of multiple cores.

https://lld.llvm.org/

Re:AMD Ryzen 5 1600X vs Core i5 Review by gpderetta on Wednesday April 12, 2017 @07:06AM (#14096518)
so can the 'gold' linker.
Re:AMD Ryzen 5 1600X vs Core i5 Review by neilc on Thursday April 13, 2017 @01:14PM (#14108932)
Interesting -- do you have a link on this?
Re:AMD Ryzen 5 1600X vs Core i5 Review by jschwartzi on Tuesday April 11, 2017 @03:54PM (#14091821)
Make definitely requires a well-specified list of dependencies, meaning that the targets and prerequisites need to specify a DAG from the source files through the intermediates to the final target executable(s). If that's not complete then a threaded make will fail.

Most recursive make systems can't be run in jobserver mode because the graph is not well-specified.

Re:AMD Ryzen 5 1600X vs Core i5 Review by trey-jones on Tuesday April 11, 2017 @10:23AM (#14088033)
This statement is pretty badly outdated. Modern web tech is just as multi-thread capable as other tech.
Re:AMD Ryzen 5 1600X vs Core i5 Review by Rusky on Tuesday April 11, 2017 @11:42AM (#14089029)
It's not. There's a reason Mozilla is pushing Servo.