473,385 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

java performance w2k vs NT4

Hello,

I've been developping a Java application using sun's 1.4.1 on my NT4
box.

It's a financial application that retrieves market data in real time,
displays it in JTables, do some computations, and from which you can
also open small dialogs to send orders to the market... client /
server based (but not Java connection, it's a simple socket
connection)

my clients have been running NT4 for some time, and we recently
decided to migrate to windows 2000. after all I had read about java
portability and performances of w2k vs NT, I just quickly checked the
app was starting up, and started the migration.

however after we finished the first PC and ran it the next day in
production, we realized everything was REALLY slow. I mean MUCH slower
than on the other PCs still running NT4. I could not tell for sure (my
users are remote), but CPU usage seems to be more intensive on the w2k
box.

another interesting thing was that things are REALLY slow with jre
1.4.2 and 1.4.1, but "quite ok, although slower" with jre 1.4.0 .

I am really puzzled... the machines used are of pretty similar specs.

so do you know of any perf. issue between those two OSes ?
any specific code I should pay more attention to ?
any known problem with w2k ? I searched the NG & knowledge bases with
no success...

thanks to share your knowledge !

--Bastien
Jul 17 '05 #1
4 2307
more infos:
I recreated the problem by using another application of my package: it
retrieve info from a server, and display it line by line in JTables. I
c

I compared the time it takes to retrieve all the info, it's < 20
seconds on my NT machine, while it's > 60 seconds on the w2k machine.
the NT machine is less powerful and runs more apps than the w2k.

It looks like being a problem at the display level, as when I minimize
my window, the whole info is updated in around 20 secs on the w2k
machine (same as NT).

has anyone seen this already ?
I haven't tested with linux, that might be an idea...

sr****@clj.co.jp (Bastien Raich) wrote in message news:<ae**************************@posting.google. com>...
Hello,

I've been developping a Java application using sun's 1.4.1 on my NT4
box.

It's a financial application that retrieves market data in real time,
displays it in JTables, do some computations, and from which you can
also open small dialogs to send orders to the market... client /
server based (but not Java connection, it's a simple socket
connection)

my clients have been running NT4 for some time, and we recently
decided to migrate to windows 2000. after all I had read about java
portability and performances of w2k vs NT, I just quickly checked the
app was starting up, and started the migration.

however after we finished the first PC and ran it the next day in
production, we realized everything was REALLY slow. I mean MUCH slower
than on the other PCs still running NT4. I could not tell for sure (my
users are remote), but CPU usage seems to be more intensive on the w2k
box.

another interesting thing was that things are REALLY slow with jre
1.4.2 and 1.4.1, but "quite ok, although slower" with jre 1.4.0 .

I am really puzzled... the machines used are of pretty similar specs.

so do you know of any perf. issue between those two OSes ?
any specific code I should pay more attention to ?
any known problem with w2k ? I searched the NG & knowledge bases with
no success...

thanks to share your knowledge !

--Bastien

Jul 17 '05 #2
nos
Have you tried using "windows task manager"?
You can look at the performance window which
gives you cpu usage and page file usage charts, and various
other things like physical/kernel memory, handles,
threads and processes. The process window gives you
cpu and memory usage for each process. 2000 may
have a networking window.
"Bastien Raich" <sr****@clj.co.jp> wrote in message
news:ae**************************@posting.google.c om...
more infos:
I recreated the problem by using another application of my package: it
retrieve info from a server, and display it line by line in JTables. I
c

I compared the time it takes to retrieve all the info, it's < 20
seconds on my NT machine, while it's > 60 seconds on the w2k machine.
the NT machine is less powerful and runs more apps than the w2k.

It looks like being a problem at the display level, as when I minimize
my window, the whole info is updated in around 20 secs on the w2k
machine (same as NT).

has anyone seen this already ?
I haven't tested with linux, that might be an idea...

sr****@clj.co.jp (Bastien Raich) wrote in message

news:<ae**************************@posting.google. com>...
Hello,

I've been developping a Java application using sun's 1.4.1 on my NT4
box.

It's a financial application that retrieves market data in real time,
displays it in JTables, do some computations, and from which you can
also open small dialogs to send orders to the market... client /
server based (but not Java connection, it's a simple socket
connection)

my clients have been running NT4 for some time, and we recently
decided to migrate to windows 2000. after all I had read about java
portability and performances of w2k vs NT, I just quickly checked the
app was starting up, and started the migration.

however after we finished the first PC and ran it the next day in
production, we realized everything was REALLY slow. I mean MUCH slower
than on the other PCs still running NT4. I could not tell for sure (my
users are remote), but CPU usage seems to be more intensive on the w2k
box.

another interesting thing was that things are REALLY slow with jre
1.4.2 and 1.4.1, but "quite ok, although slower" with jre 1.4.0 .

I am really puzzled... the machines used are of pretty similar specs.

so do you know of any perf. issue between those two OSes ?
any specific code I should pay more attention to ?
any known problem with w2k ? I searched the NG & knowledge bases with
no success...

thanks to share your knowledge !

--Bastien

Jul 17 '05 #3
of course I had a look at the task manager, CPU usage is higher with windows 2000.

I upgraded graphic card drivers, but it didn't change anything...

any idea ?

--Bastien

"nos" <no*@nospam.com> wrote in message news:<C2avb.256408$HS4.2307827@attbi_s01>...
Have you tried using "windows task manager"?
You can look at the performance window which
gives you cpu usage and page file usage charts, and various
other things like physical/kernel memory, handles,
threads and processes. The process window gives you
cpu and memory usage for each process. 2000 may
have a networking window.
"Bastien Raich" <sr****@clj.co.jp> wrote in message
news:ae**************************@posting.google.c om...
more infos:
I recreated the problem by using another application of my package: it
retrieve info from a server, and display it line by line in JTables. I
c

I compared the time it takes to retrieve all the info, it's < 20
seconds on my NT machine, while it's > 60 seconds on the w2k machine.
the NT machine is less powerful and runs more apps than the w2k.

It looks like being a problem at the display level, as when I minimize
my window, the whole info is updated in around 20 secs on the w2k
machine (same as NT).

has anyone seen this already ?
I haven't tested with linux, that might be an idea...

sr****@clj.co.jp (Bastien Raich) wrote in message

news:<ae**************************@posting.google. com>...
Hello,

I've been developping a Java application using sun's 1.4.1 on my NT4
box.

It's a financial application that retrieves market data in real time,
displays it in JTables, do some computations, and from which you can
also open small dialogs to send orders to the market... client /
server based (but not Java connection, it's a simple socket
connection)

my clients have been running NT4 for some time, and we recently
decided to migrate to windows 2000. after all I had read about java
portability and performances of w2k vs NT, I just quickly checked the
app was starting up, and started the migration.

however after we finished the first PC and ran it the next day in
production, we realized everything was REALLY slow. I mean MUCH slower
than on the other PCs still running NT4. I could not tell for sure (my
users are remote), but CPU usage seems to be more intensive on the w2k
box.

another interesting thing was that things are REALLY slow with jre
1.4.2 and 1.4.1, but "quite ok, although slower" with jre 1.4.0 .

I am really puzzled... the machines used are of pretty similar specs.

so do you know of any perf. issue between those two OSes ?
any specific code I should pay more attention to ?
any known problem with w2k ? I searched the NG & knowledge bases with
no success...

thanks to share your knowledge !

--Bastien

Jul 17 '05 #4
Try installing your app on another PC with w2k and see if you get the same
results. I wouldn't base your findings on one installation.....

Larry

"Bastien Raich" <sr****@clj.co.jp> wrote in message
news:ae**************************@posting.google.c om...
Hello,

I've been developping a Java application using sun's 1.4.1 on my NT4
box.

It's a financial application that retrieves market data in real time,
displays it in JTables, do some computations, and from which you can
also open small dialogs to send orders to the market... client /
server based (but not Java connection, it's a simple socket
connection)

my clients have been running NT4 for some time, and we recently
decided to migrate to windows 2000. after all I had read about java
portability and performances of w2k vs NT, I just quickly checked the
app was starting up, and started the migration.

however after we finished the first PC and ran it the next day in
production, we realized everything was REALLY slow. I mean MUCH slower
than on the other PCs still running NT4. I could not tell for sure (my
users are remote), but CPU usage seems to be more intensive on the w2k
box.

another interesting thing was that things are REALLY slow with jre
1.4.2 and 1.4.1, but "quite ok, although slower" with jre 1.4.0 .

I am really puzzled... the machines used are of pretty similar specs.

so do you know of any perf. issue between those two OSes ?
any specific code I should pay more attention to ?
any known problem with w2k ? I searched the NG & knowledge bases with
no success...

thanks to share your knowledge !

--Bastien

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Zach | last post by:
This is all on linux using jdk1.3. My application is written in AWT, no swing. The application requires running it on the host machine and tunneling the GUI back to a client. I've been doing...
14
by: Wolfgang Keller | last post by:
Hello, as a non-developer I am currently participating in an industrial "research" project to develop a so-called "web application". This application serves at the same time as middleware to...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
133
by: Gaurav | last post by:
http://www.sys-con.com/story/print.cfm?storyid=45250 Any comments? Thanks Gaurav
10
by: Alex Gerdemann | last post by:
Hello, I have spent a bunch of time converting a Java program I wrote to C++ in order to improve performance, and have found that it is not necessarily faster. Specifically, I'm writing a...
30
by: Mike Cox | last post by:
Hi. I recently ran a benchmark against two simple programs, one written in Java and the other in C++. The both accomplish the same thing, outputting "Hello World" on my screen. The C++ program...
2
by: Rafael Faria | last post by:
Hi All, We are starting a large data warehousing project using DB2 8.2 on AIX. There is a direction to move any new internal development to Java and a question was raised: Would it be a good...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
2
by: sdanda | last post by:
Hi , Do you have any idea how to improve my java class performance while selecting and inserting data into DB using JDBC Connectivity ......... This has to work for more than 8,00,000...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.