Post #153,375
5/2/04 6:58:09 AM
|
Awful performance
I am doing Java development on a Windows 2000 box, 2.6Ghz, and 1GB of memory. For some reason the machine crawls. I usually run a number of Java apps at once (Intellij, a database browser and some others) as well as the usual office apps (Outlook, browsers, etc.). When I check memory usage it is not bad, memory usage is about 800M, yet the disk thrashes constantly and brings the machine to a standstill. When I switch between apps the disk can thrash for 5 seconds or more freezing the machine. As the week goes on it just gets worse. If I leave the machine of for more then a week forget it. Any thoughts/suggestions?
|
Post #153,376
5/2/04 7:23:21 AM
|
Have you tried a daily reboot?
From the sound of it you have something locking up memory, thereby forcing the system into using virtual (disk) memory. If the daily reboot brings back the speed, then I'd start looking at which app is being started and stopped all day. Try leaving the app running all day.
Since you're doing dev work, is it possible that the app you are working on is failing to release memory?
Initial reaction thoughts.
|
Post #153,386
5/2/04 11:16:02 AM
|
Except that when I look at memory in the Task Manager
I am only using about 800M out of 1GB so it shouldn't be swapping much
|
Post #153,379
5/2/04 9:23:52 AM
|
I assume you've checked the obvious
Defrag, optimal* swap file size, not running low on disk space, service packs up to level. Aside from those, check which processes are using cpu cycles, anything that stands out trace it to the app calling that process.
Activate the diskperf service and the examine the performance monitor, details [link|http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q102/0/20.asp&NoWebContent=1|here]
*many arguments as to how large/small the swap file should be in relation to amount of memory- My rule of thumb is twice the size of RAM.
----------------------------------------- It is much harder to be a liberal than a conservative. Why? Because it is easier to give someone the finger than it is to give them a helping hand. Mike Royko
|
Post #153,385
5/2/04 11:11:05 AM
|
-Xms and -Xmx settings?
Check how your JVM is set to use RAM in your apps... Quickest thought available.
-YendorMike
[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
|
Post #153,387
5/2/04 11:17:50 AM
|
Re: -Xms and -Xmx settings?
For Intellij I have it set with -Xms256 and -Xmx384 seems reasonable to me.
|
Post #153,389
5/2/04 12:12:56 PM
|
Check your AV settings.
Constant checking inside compressed files (i.e. JAR files) can slay performance.
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #153,402
5/2/04 3:06:54 PM
|
What he said. Plus.
And check for Disk fragmentation as well. I have sometimes (yes even with NTFS Peter) a 400% increase with a defrag'd drive vs highly fragmented. (1% vs 97%)
Even though NTFS is supposed to be immune from this.
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Give a man a match, he'll be warm for a minute. Set him on fire, he'll be warm for the rest of his life!
|
Post #153,405
5/2/04 3:09:18 PM
|
Stop that.
"(Yes, foo bar baz Peter)" <-- v. annoying. Desist.
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #153,411
5/2/04 3:55:11 PM
|
...
Hook, line and sinker, you DUD!
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Give a man a match, he'll be warm for a minute. Set him on fire, he'll be warm for the rest of his life!
|
Post #153,415
5/2/04 5:00:16 PM
|
Trolling's not big and not clever, Greg.
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #153,416
5/2/04 5:08:26 PM
|
But, I still hooked a BOF* though, HUH?
* == Big Ole Fish
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Give a man a match, he'll be warm for a minute. Set him on fire, he'll be warm for the rest of his life!
|
Post #153,417
5/2/04 5:10:28 PM
|
If that's what floats your boat.
Honestly. I get to deal with enough of this sort of silly shit on K5, which has 100x the userbase (and consequently 100x the idiots). I rather expect a better standard of behaviour from the people here.
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #153,432
5/2/04 9:02:09 PM
|
Ok.
Lately you've been a bit over sensitive.
Duly noted.
-- [link|mailto:greg@gregfolkert.net|greg], [link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
Give a man a match, he'll be warm for a minute. Set him on fire, he'll be warm for the rest of his life!
|
Post #153,435
5/2/04 9:06:00 PM
|
You mean in our excelence we do not exceed the stupidity
percentage of k5? Will have to post more. thanx, bill
attempting to explain profiling doesn't require one to take a position for or against it any more than attempting to explain gravity requires one to be for or against gravity. Walter Williams questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
|
Post #153,407
5/2/04 3:30:20 PM
|
NTFS Immune? No freak'n way . . .
It's one of the worst fragmenters around. I had a client who's NT 4 server ground to an almost complete halt due to fragmentation. It took about 8 passes with Diskeeper Pro to get that turkey straightened out and back on its feet.
[link|http://www.aaxnet.com|AAx]
|
Post #153,410
5/2/04 3:53:55 PM
|
Some AV's constantly scan desktop items
...so be careful of compressed (or just very large) files on your desktop. Put 'em in a subfolder.
|
Post #153,401
5/2/04 2:51:11 PM
|
And removing all traces of Java helps every machine. ;-)
bcnu, Mikem
|