scala - akka performance on linux with compilation on windows -


i have scala ide setup in windows machine. when run test program on same machine performance figures.

in order run same program on linux machine, 8 core 32 gb machine, ftped generated class files , scala + akka jars linux machine.

the linux machine using server edition java , windows machine using client edition java.

when run same program on linux machine paths set properly, poor performance windows machine.

why so? program able run fine performs poorly on higher-end machine , on server edition.

is due compilation , run environment differences? can investigate reason behavior.

edit: windows env compilation done 32 bit, , java on linux machine 64 bit server. make difference performance?

it helpful if post java configurations on both machines, i.e. jvm version , flags passed java command on both environments.

also, how measure performance, , values get? there else involved, such i/o, network traffic etc.? if not, algorithms being used in program? program calculates , terminates, or server program runs until shut down?

you should put special focus on memory configuration (as suggested @alex23) , -server flag. also, make sure linux environment using jvm same manufacturer windows environment. windows typically comes sun jvm, whereas linuxes may still have old oracle jvm. try java -version on command line.

also, instead of comparing results of complex program, try simpler program first. try determine overhead of booting jvm, versus effective runtime of java/scala code.

the idea windows-based build causes performance issues on linux machine sounds highly improbable. can check compiling software on linux machine , running it.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -