Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Heisenburger

Lowering compiling speeds.

Recommended Posts

Posted · Original PosterOP

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 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

That's for clearing that up.

Like I said, I have no idea about Java. 

AFAIK most compilers only use two cores but I've seen some things use four.


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

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:


muh specs 

Gaming and HTPC (reparations)- ASUS 1080, MSI X99A SLI Plus, 5820k- 4.5GHz @ 1.25v, asetek based 360mm AIO, RM 1000x, 16GB memory, 750D with front USB 2.0 replaced with 3.0  ports, 2 250GB 850 EVOs in Raid 0 (why not, only has games on it), some hard drives

Screens- Acer preditor XB241H (1080p, 144Hz Gsync), LG 1080p ultrawide, (all mounted) directly wired to TV in other room

Stuff- k70 with reds, steel series rival, g13, full desk covering mouse mat

All parts black

Workstation(desk)- 3770k, 970 reference, 16GB of some crucial memory, a motherboard of some kind I don't remember, Micomsoft SC-512N1-L/DVI, CM Storm Trooper (It's got a handle, can you handle that?), 240mm Asetek based AIO, Crucial M550 256GB (upgrade soon), some hard drives, disc drives, and hot swap bays

Screens- 3  ASUS VN248H-P IPS 1080p screens mounted on a stand, some old tv on the wall above it. 

Stuff- Epicgear defiant (solderless swappable switches), g600, moutned mic and other stuff. 

Laptop docking area- 2 1440p korean monitors mounted, one AHVA matte, one samsung PLS gloss (very annoying, yes). Trashy Razer blackwidow chroma...I mean like the J key doesn't click anymore. I got a model M i use on it to, but its time for a new keyboard. Some edgy Utechsmart mouse similar to g600. Hooked to laptop dock for both of my dell precision laptops. (not only docking area)

Shelf- i7-2600 non-k (has vt-d), 380t, some ASUS sandy itx board, intel quad nic. Currently hosts shared files, setting up as pfsense box in VM. Also acts as spare gaming PC with a 580 or whatever someone brings. Hooked into laptop dock area via usb switch

Link to post
Share on other sites

Please elaborate on how you are measuring 1-2 minutes,What project builder are you using(maven,ant...), is it incremental builds or clean builds timings?, how many lines of code/how many class files do you have?

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


×