Opinions on Idea under single vs dual processor

Using version 3.0.2 of Idea, I frequently get very long pauses (20 seconds
or so) when minimising the application. I suspect that this is down to
garbage collection.

I'm considering upgrading my development PC, and am drawn to a
dual-processor machine: I'm minimising Idea because I want to do something
else - something else I can't do immediately because I'm waiting for the gc
to finish. I imagine that with a dual processor machine, the OS will see
that Idea is busy doing a monstrous gc, and put my other "new" task on the
non-Idea processor.

I realise that dual-processor systems are more expensive (your not just
buying two processors, but a more complex motherboard as well), and that for
the same price I could buy a significantly faster (~20%) processor. This
faster processor would result in a faster gc, possibly causing less of an
interruption.

I'd appreciate your opinions in this matter: especially if my logic or
understanding of the problem are flawed.

Thanks,
Ian


6 comments


"ian mayo" <nospam.IanMayo@hotmail.com> wrote in message
news:b6a2qv$ive$1@is.intellij.net...

Using version 3.0.2 of Idea, I frequently get very long pauses (20 seconds
or so) when minimising the application. I suspect that this is down to
garbage collection.


It could also be due to your OS (Windows I'm guessing) swapping to disk. Do
you have enough RAM? I'm guessing that 512 MB is the minimum for running
IDEA + Windows; I put 1 GB in my machine just to be safe. (And it's cheaper
than buying an extra processor.)


Erik





0

Using version 3.0.2 of Idea, I frequently get very long pauses (20

seconds

or so) when minimising the application. I suspect that this is down to
garbage collection.

>

It could also be due to your OS (Windows I'm guessing) swapping to disk.

Do

you have enough RAM? I'm guessing that 512 MB is the minimum for running
IDEA + Windows; I put 1 GB in my machine just to be safe. (And it's

cheaper

than buying an extra processor.)


No, I don't think that's the problem - the machine's a 2Ghz, running Windows
NT4, with 768Mb (512 + 256) of RAM. Increasing the RAM certainly did make an
improvement, when originally delivered it only had 256Mb. I didn't notice
Idea running all that slowly, it was just the big pause when I switched to
my word processor or email application - waiting for the OS to load this
"other" app into memory. With 768 I can switch in a flash, the downside is
these long pauses I get every few minutes. I can accept that they happen, I
just wish I could switch to doing something else productive.

Ian



0

I think Eric is right. It happend to me under Windows in many
applications, not only IDEA.
What is interesting, it does not happen when you minimize all
windows at once (]]>+M or apropriate quick-launch button)

Lukas

0

I have a dual 1.8 GHz machine at work and a single 600 MHz machine at
home. My work machine NEVER feels slow. :)

I do notice some occaisional pauses when task switching, but nothing
more than 3 or 4 seconds most of the time. Of course, I don't have to
worry too much about IDEA pausing for garbage collection because I run
the concurrent garbage collector (new feature in 1.4.1).

One thing that I really love about the dual processor machine is if you
get a runaway process that's pegging the CPU, well, it's only pegging
ONE cpu, leaving the other free to bring up Task Manager and kill the
errant process.

Donald

0

I do notice some occaisional pauses when task switching, but nothing
more than 3 or 4 seconds most of the time. Of course, I don't have to
worry too much about IDEA pausing for garbage collection because I run
the concurrent garbage collector (new feature in 1.4.1).


Sounds interesting, I'll look into it

One thing that I really love about the dual processor machine is if you
get a runaway process that's pegging the CPU, well, it's only pegging
ONE cpu, leaving the other free to bring up Task Manager and kill the
errant process.


Now that sounds great.

Thanks Donald,
Ian


0

ian mayo wrote:

Using version 3.0.2 of Idea, I frequently get very long pauses (20 seconds
or so) when minimising the application. I suspect that this is down to
garbage collection.

I'm considering upgrading my development PC, and am drawn to a
dual-processor machine: I'm minimising Idea because I want to do something
else - something else I can't do immediately because I'm waiting for the gc
to finish. I imagine that with a dual processor machine, the OS will see
that Idea is busy doing a monstrous gc, and put my other "new" task on the
non-Idea processor.

I realise that dual-processor systems are more expensive (your not just
buying two processors, but a more complex motherboard as well), and that for
the same price I could buy a significantly faster (~20%) processor. This
faster processor would result in a faster gc, possibly causing less of an
interruption.

I'd appreciate your opinions in this matter: especially if my logic or
understanding of the problem are flawed.

Thanks,
Ian

I use Idea on a dual xeon machine. There aren't ever any pauses running
any number of applications. A given application doesn't run any faster
than it would on a single proc machine, but the major bonus of task
switching without hesitation makes me grin. I've run Idea along with
Together and JDeveloper and switched between apps without delay.

Highly recommended :)

Eric

0

Please sign in to leave a comment.