| Author |
Windows XP slowdown
|
Chris Shepherd
Ranch Hand
Joined: Jun 27, 2000
Posts: 286
|
|
Hi, I have an app that I wrote using java 1.4 that runs significantly faster on my loaded up win2K system(lots of stuff loaded on the system and things running in the background) than it does on a fresh load of XP Pro with almost nothing loaded on it and no other programs open in the background. Its running on the exact same hardware except its on a different harddrive(which has no effect since everything is kept in memmory). The slowdown seems to occur when I am plotting data on a chart. I am using the JClass 4.5 charting classes, but they are all built off of the java chart classes I beleive. Has anyone else experienced anything like this when using charting apps on XP? I haven't been able to figure it out. Thanks, Chris
|
 |
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
|
|
|
You need to pay your longshoremen more.
|
[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
Have you fired up Task Manager to see what process is using the CPU? Is it in fact the java.exe running your program? Are you using the same JVM?
|
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
|
 |
Chris Shepherd
Ranch Hand
Joined: Jun 27, 2000
Posts: 286
|
|
I checked and it is the javaw.exe. I did a bunch of testing since my last post and it seems like it is the screen update code somewhere and not in my code. I put timers on all my datasources and other code that gets called when the action is done and my stuff is plenty fast. no where near the 1-3 secs response time I am seeing. The processor stays down in the 25%-50% range until I click the plot area I am watching for action and then it spikes to 100% and drops back down once the screen is redrawn. I found one bugreport at Sun on a 3-4X slowdown on some kind of 2D graphics benchmark program, but There wasn't much on it and nothing else at Sun mentions an XP problem. Also checked the JClass newsgroup and didn't see a mention so I posted there as well. Have to see what comes from this. I really don't want to have to redesign my finished app(its big) just cause of something M$ did in XP. Thanks for your response. Chris ps- the longshoremen make $100k/year plus complete health benefits and they get their marxist founder's birthday off as a holiday. Anyone wanna start coding for the longshoremen?
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
I may be dreaming, but I thought I read somewhere that Java 1.4.1 was having some kind of problems between Swing and DirectX. If I remember or find something I'll post. -Barry
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
Here it is, but it's a Blue Screen of Death problem: Java 1.4.1 BSOD The following site has a discussion group topic where 1.4.1 is having freezeups within a Swing IDE debugger. It works with 1.3.1, 1.4.0. BlueJ So you are in good company with 1.4.1. -Barry
|
 |
Chris Shepherd
Ranch Hand
Joined: Jun 27, 2000
Posts: 286
|
|
except mine does the same thing with 1.4.0 as well. I just moved to 1.4.1 to see if that made a difference... Thanks for the link tho.. I'll go check it out
|
 |
 |
|
|
subject: Windows XP slowdown
|
|
|