t***m 发帖数: 358 | 1 same problem, same machine, on 32bit jre, the program takes about 25 seconds
. on 64bit, it takes 128 seconds. anyone have similar problem before? |
g**e 发帖数: 6127 | 2 记得sun的网页上说性能差别在10%左右,你这个差别大了点
seconds
【在 t***m 的大作中提到】 : same problem, same machine, on 32bit jre, the program takes about 25 seconds : . on 64bit, it takes 128 seconds. anyone have similar problem before?
|
t***m 发帖数: 358 | 3 其它程序好像没什么大差别。这个有大量的tree操作,是不是原因?
【在 g**e 的大作中提到】 : 记得sun的网页上说性能差别在10%左右,你这个差别大了点 : : seconds
|
m******t 发帖数: 2416 | 4
seconds
It might be spending a lot of time doing full gc.
Try give it more memory. A 64b vm inherently needs more memory to do the
same things.
【在 t***m 的大作中提到】 : same problem, same machine, on 32bit jre, the program takes about 25 seconds : . on 64bit, it takes 128 seconds. anyone have similar problem before?
|
m******t 发帖数: 2416 | 5
seconds
Just curious by the way - are you totempole without the pole,
or a whole different totem? :-)
【在 t***m 的大作中提到】 : same problem, same machine, on 32bit jre, the program takes about 25 seconds : . on 64bit, it takes 128 seconds. anyone have similar problem before?
|
t***m 发帖数: 358 | 6 definitely not memory problem. I give it more than enough memory.
【在 m******t 的大作中提到】 : : seconds : Just curious by the way - are you totempole without the pole, : or a whole different totem? :-)
|
t***m 发帖数: 358 | 7 who/what's totempole?
【在 m******t 的大作中提到】 : : seconds : Just curious by the way - are you totempole without the pole, : or a whole different totem? :-)
|
g**e 发帖数: 6127 | 8 在64位机上跑过大量trie map操作的程序,没感觉出来速度有太大分别
【在 t***m 的大作中提到】 : 其它程序好像没什么大差别。这个有大量的tree操作,是不是原因?
|
t*******e 发帖数: 684 | 9 Obviously he doesn't know totempole.
【在 t***m 的大作中提到】 : who/what's totempole?
|
b******y 发帖数: 9224 | 10 We use 64 bit and works fine. |