Ezh
unread,Jun 11, 2012, 4:29:49 AM6/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
I have small Scala project that compile around minute or two. It is very annoying that CPU usage not more than 40% at i7-2600K. I thought about buying new, more powerful workstation, but after little investigation I am in frustration.
Every build take minute or two... I have thousands builds per release...
Usual timing looks like
real 1m10.248s
user 2m39.056s
sys 0m3.744s
While compilation in progress I got
Tasks: 282 total, 1 running, 281 sleeping, 0 stopped, 0 zombie
Cpu0 : 52.7%us, 2.3%sy, 0.0%ni, 44.3%id, 0.0%wa, 0.7%hi, 0.0%si, 0.0%st
Cpu1 : 60.7%us, 2.0%sy, 0.0%ni, 36.9%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Cpu2 : 90.8%us, 1.3%sy, 0.0%ni, 7.6%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st
Cpu3 : 18.0%us, 2.0%sy, 0.0%ni, 79.3%id, 0.0%wa, 0.3%hi, 0.3%si, 0.0%st
Cpu4 : 5.7%us, 0.3%sy, 0.0%ni, 93.6%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st
Cpu5 : 16.6%us, 1.3%sy, 0.0%ni, 82.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu6 : 8.9%us, 1.0%sy, 0.0%ni, 89.8%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st
Cpu7 : 50.5%us, 1.7%sy, 0.0%ni, 47.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
or Cpu(s): 36.6%us, 1.4%sy, 0.0%ni, !!!!61.8%id!!!, 0.0%wa, 0.2%hi, 0.1%si, 0.0%st
Is it possible to fix compilation performance with sbt? Maybe some magic option or key?
parallelExecution in Global := true useless
King regards,
Alexey