Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2005

Tip: Looking for answers? Try searching our database.

Applets, Seperate Frames, and CPU cycles/Efficiency

Thread view: 
Russ - 27 Apr 2005 03:10 GMT
Hi everyone,
If I have one Applet that is cpu intensive,
will running a second applet in another frame
improve this second applet's performance?
Worded another way: Will the second applet
get more cpu cycles in a different frame then
if it was in the same frame as the first?

thanx
Russ Kinter
Piotr Gaertig /Gertas/ - 02 May 2005 21:58 GMT
On 4/27/2005 4:10 AM, cyber knight Russ gave sign:
> Hi everyone,
> If I have one Applet that is cpu intensive,
[quoted text clipped - 3 lines]
> get more cpu cycles in a different frame then
> if it was in the same frame as the first?

Hello,

No, if a machine is a single-cpu then
performance will be degraded.
On a multi-cpu machines use threads
within one applet - control is easier.

If both applets and computation will be same
then each instance will use the same
amount of cpu cycles (cycles - absolute process time),
but running time may differ (performance).

You should read a little about task switching,
cycles, processes, time quantums, priorities,
and multitasking and cpus in general.

Best Regards,
Piotr Gaertig
Betty - 02 May 2005 22:52 GMT
> On 4/27/2005 4:10 AM, cyber knight Russ gave sign:
> > Hi everyone,
[quoted text clipped - 11 lines]
> On a multi-cpu machines use threads
> within one applet - control is easier.

Pls excuse my ignorance, is a multi-cpu machine
different from hyperthreading?
<snip>
Betty - 02 May 2005 22:57 GMT
> > On 4/27/2005 4:10 AM, cyber knight Russ gave sign:
> > > Hi everyone,
[quoted text clipped - 14 lines]
> Pls excuse my ignorance, is a multi-cpu machine
> different from hyperthreading?
I should mention that the reason I want to learn
about this is that I'm thinking of getting a faster
machine. In this regard, does 'shared' memory for
video slow it down much if I am not doing games?
Piotr Gaertig /Gertas/ - 03 May 2005 00:07 GMT
On 5/2/2005 11:57 PM, cyber knight Betty gave sign
>> Pls excuse my ignorance, is a multi-cpu machine
>> different from hyperthreading?
> I should mention that the reason I want to learn
> about this is that I'm thinking of getting a faster
> machine. In this regard, does 'shared' memory for
> video slow it down much if I am not doing games?

I know it's realy OT but i answer:

About HT:
http://www.pcworld.com/news/article/0,aid,107492,00.asp
(In my opinion its next level of an optimisation -
 as pipelining in the old Pentium days -
 these two "logical" processors are marketing issues).

I will buy AMD64 on my next PC/notebook shopping :)

64-bit JVMs are ready :)

About shared video RAM:
Nothing special, just eats 8MB of RAM.
You should better buy 1GB of RAM
if you are going to use
Java + Eclipse + some J2EE servers and DBMS


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.