Jump to content

Hi, I'm a total noob with computer hardware, but i've decided to build my first custom pc, and I was wondering what kind of things would i have to worry about to try to lower compiling speed, i mostly do java, and sometimes compiling takes 1-2 minutes on some of my larger projects and it can be pretty anoying, so should i invest in  things such as hyperthreading , more ram, etc.

Link to comment
https://linustechtips.com/topic/163349-lowering-compiling-speeds/
Share on other sites

Link to post
Share on other sites

Hi, I'm a total noob with computer hardware, but i've decided to build my first custom pc, and I was wondering what kind of things would i have to worry about to try to lower compiling speed, i mostly do java, and sometimes compiling takes 1-2 minutes on some of my larger projects and it can be pretty anoying, so should i invest in  things such as hyperthreading , more ram, etc.

I'm not a Java person but I'm assuming a fast CPU will have most impact on this. 

Get a 5960k if you can wait that long/can afford it.  

Even a 4790k/4770k would probably be enough for Java. 

 

Edit: What is your current CPU?

|CPU: Intel 5960X|MOBO:Rampage V Extreme|GPU:EVGA 980Ti SC 2 - Way SLI|RAM:G-Skill 32GB|CASE:900D|PSU:CorsairAX1200i|DISPLAY :Dell U2412M X3|SSD Intel 750 400GB, 2X Samsung 850 Pro|

Peripherals : | MOUSE : Logitech G602 | KEYBOARD: K70 RGB (Cherry MX Brown) | NAS: Synology DS1515+  - WD RED 3TB X 5|ROUTER: AC68U

Sound : | HEADPHONES: Sennheiser HD800 SPEAKERS: B&W CM9 (Front floorstanding) ,  B&W CM Center 2 (Centre) | AV RECEIVER : Denon 3806 | MY X99 BUILD LOG!

 

Link to post
Share on other sites

I'm not a Java person but I'm assuming a fast CPU will have most impact on this. 

Get a 5960k if you can wait that long/can afford it.  

Even a 4790k/4770k would probably be enough for Java. 

 

Edit: What is your current CPU?

Compiling is very single threaded so a OC'd i5 would be all he needs.

Mein Führer... I CAN WALK !!

Link to post
Share on other sites

Compiling is very single threaded so a OC'd i5 would be all he needs.

That's for clearing that up.

Like I said, I have no idea about Java. 

|CPU: Intel 5960X|MOBO:Rampage V Extreme|GPU:EVGA 980Ti SC 2 - Way SLI|RAM:G-Skill 32GB|CASE:900D|PSU:CorsairAX1200i|DISPLAY :Dell U2412M X3|SSD Intel 750 400GB, 2X Samsung 850 Pro|

Peripherals : | MOUSE : Logitech G602 | KEYBOARD: K70 RGB (Cherry MX Brown) | NAS: Synology DS1515+  - WD RED 3TB X 5|ROUTER: AC68U

Sound : | HEADPHONES: Sennheiser HD800 SPEAKERS: B&W CM9 (Front floorstanding) ,  B&W CM Center 2 (Centre) | AV RECEIVER : Denon 3806 | MY X99 BUILD LOG!

 

Link to post
Share on other sites

Hi, I'm a total noob with computer hardware, but i've decided to build my first custom pc, and I was wondering what kind of things would i have to worry about to try to lower compiling speed, i mostly do java, and sometimes compiling takes 1-2 minutes on some of my larger projects and it can be pretty anoying, so should i invest in  things such as hyperthreading , more ram, etc.

But then you can't do this: http://xkcd.com/303/

[spoiler=My Current PC]AMD FX-8320 @ 4.2 Ghz | Xigmatek Dark Knight Night Hawk II | Gigabyte GA-990FXA-UD3 | 8GB Adata XPG V2 Silver 1600 Mhz RAM | Gigabyte 3X Windforce GTX 770 4GB @ 1.27 Ghz/7.25 Ghz | Rosewill Hive 550W Bronze PSU | Fractal Design Arc Midi R2 | Samsung Evo 250 GB SSD | Seagate Barracuda 1TB HDD | ASUS VS239H-P | Razer Deathadder 2013 Partlist

 

LTT Build-Off Thread: http://linustechtips.com/main/topic/35226-the-ltt-build-off-thread-no-building-required/

Link to post
Share on other sites

Hi, I'm a total noob with computer hardware, but i've decided to build my first custom pc, and I was wondering what kind of things would i have to worry about to try to lower compiling speed, i mostly do java, and sometimes compiling takes 1-2 minutes on some of my larger projects and it can be pretty anoying, so should i invest in  things such as hyperthreading , more ram, etc.

1-2 minutes is awesome. Try compiling Chromium from the tip of the source tree.

 

Took me 15hrs and the result leaked memory every ten minutes.

"You have got to be the biggest asshole on this forum..."

-GingerbreadPK

sudo rm -rf /

Link to post
Share on other sites

how large is your project? 1-2 minutes seems long. my "largest" project, which may be small compare to yours, compiles in three seconds and its across multiple packages and numerous class files with half a dozen libraries required. even exporting doesnt take two minutes. i'm running on an 8350 @ stock speed.

Link to post
Share on other sites

The best way to reduce compiling times is to open your project, press ctrl+A and then hit delete..

Seriously though. What is your project?

CPU: i7 4770k | GPU: Sapphire 290 Tri-X OC | RAM: Corsair Vengeance LP 2x8GB | MTB: GA-Z87X-UD5HCOOLER: Noctua NH-D14 | PSU: Corsair 760i | CASE: Corsair 550D | DISPLAY:  BenQ XL2420TE


Firestrike scores - Graphics: 10781 Physics: 9448 Combined: 4289


"Nvidia, Fuck you" - Linus Torvald

Link to post
Share on other sites

1-2  minutes? Really? I have had projects with 10000+ lines in mulltiple classes and it only took me a few seconds..

I mean I can compile basic lighting for small maps on a compiler that limited to 2 threads on a 2.5GHZ 2920xm in that time....

I can render high detailed 4k frames in blender in that time. 

I don't see what would ever take that long unless you are doing something really weird.  :blink:

.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×