Thread View: news.software.readers
11 messages
11 total messages
Started by Jason Coleman
Mon, 27 Sep 1999 00:00
Microplanet Gravity
Author: Jason Coleman
Date: Mon, 27 Sep 1999 00:00
Date: Mon, 27 Sep 1999 00:00
7 lines
787 bytes
787 bytes
Does anyone know if Gravity is a multi-threaded app? It doesn't seem like it always behaves like one, and I can't remember ever having seen both my CPUs in use when performing multiple operations under Gravity. Thanks! -Jason
Re: Microplanet Gravity -- multithreaded?
Author: Stan Brown
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
28 lines
1852 bytes
1852 bytes
jcoleman@siweb.com (Jason Coleman) wrote in news.software.readers: >Does anyone know if Gravity is a multi-threaded app? It doesn't seem >like it always behaves like one, and I can't remember ever having seen >both my CPUs in use when performing multiple operations under Gravity. >Thanks! Multithreaded doesn't mean what you seem to think. One CPU can run multiple threads (and does, in Windows 9x/NT). The fact that only one CPU is used does not tell you whether an application is multithreaded. I'd lay large odds that Gravity is multithreaded, since it seems to be comfortable doing multiple things at the "same" time. I think what you're asking is whether Gravity is a multiprocessor application, and I have no idea. I suspect not, because multi-CPU boxes are relatively rare so there wouldn't be a lot of reason for MicroPlanet to optimize for multiple CPUs. If you don't get a definitive answer in the newsgroup you can always send a support question to MicroPlanet. (By the way, it might be good to use more specific subject headers in the future.) -- Stan Brown, Oak Road Systems, Cleveland, Ohio, USA http://www.mindspring.com/~brahms/ "It's my opinion, and it's very true."
Re: Microplanet Gravity -- multithreaded?
Author: Stan Brown
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
27 lines
1811 bytes
1811 bytes
jcoleman@siweb.com (Jason Coleman) wrote in news.software.readers: >as far as threading is >concerned, under NT generally speaking having a multi-threaded app should >be sufficient to put multiple CPUs to use if multiple threads are >spawned. I did not know that. So NT will actually balance threads among processors. Thanks for enlightening me. I agree with what you said, that Gravity apparently doing more than one thing at a time doesn't even prove it's multithreaded. I think it's unlikely the MicroPlanet folks would go to the trouble to write their own task scheduler to work just within their application, but it's possible and I don't know a definite way to determine it from outside the application. Why not drop a note to support@microplanet.com and ask? If you're wiling, mention in the note that you'll be posting the response for other curious persons to read -- and there are few people more curious than I! :-) -- Stan Brown, Oak Road Systems, Cleveland, Ohio, USA http://www.mindspring.com/~brahms/ "It's my opinion, and it's very true."
Re: Microplanet Gravity -- multithreaded?
Author: Jason Coleman
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
41 lines
2743 bytes
2743 bytes
In article <MPG.125ab01a183daecc98a136@news.mindspring.com>, brahms@mindspring.com says... > jcoleman@siweb.com (Jason Coleman) wrote in news.software.readers: > >Does anyone know if Gravity is a multi-threaded app? It doesn't seem > >like it always behaves like one, and I can't remember ever having seen > >both my CPUs in use when performing multiple operations under Gravity. > >Thanks! > > Multithreaded doesn't mean what you seem to think. One CPU can run > multiple threads (and does, in Windows 9x/NT). The fact that only one CPU > is used does not tell you whether an application is multithreaded. I'd > lay large odds that Gravity is multithreaded, since it seems to be > comfortable doing multiple things at the "same" time. No, I'm pretty sure it means what I think. Thread load balancing under NT is the responsibility of the OS afaik, so if you have a multi-threaded app it should take advantage of multiple CPUs just by running it under NT as long as your threads aren't such that you get one thread waiting on another, in which case it doesn't help to be multithreaded. I agree that while CPU use isn't the best indicator of multithreading, chances are if I try and start 2 high CPU utilization jobs from one applications and both CPUs peg, it's because it spawned a thread and that thread got shifted to the second CPU. Anyway, I see what you are saying, you can write an application so that it is more "multiprocessor" aware, I.e. more efficient in a multiprocessor environment then not, but as far as threading is concerned, under NT generally speaking having a multi-threaded app should be sufficient to put multiple CPUs to use if multiple threads are spawned. Your example of doing multiple things at the same time is not an indicator of multithreading either. It may just have an execution order that it goes through which amounts to a application based, time-sliced mutli-task, but you can still do it under 1 thread. Anyway, see where I was coming from now? -Jason
Re: Microplanet Gravity -- multithreaded?
Author: John W Denning
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
21 lines
1625 bytes
1625 bytes
Long long ago jcoleman@siweb.com said in <MPG.125accf7efa7b5bb9896a7@nntp.msu.edu> > No, I'm pretty sure it means what I think. Thread load balancing under > NT is the responsibility of the OS afaik, so if you have a multi-threaded At times you'll find in the computer world that one term might mean several things. And that two different terms mean the same thing. Multithreaded in relation to a communications program, such as a news reader means, can it open more than one channel at once. Say be downloading a file from one ng, and reading messages from another. -- John W Denning -JD- ( ( ( ) ) ) jdenning@pobox.com Idaho Falls, ID ) ) )( ( ( (208)522-4413 JD's UnderWater Photo Course - http://www.pobox.com/~jdenning/uwpc.html
Re: Microplanet Gravity -- multithreaded?
Author: Tom B.
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
25 lines
1750 bytes
1750 bytes
Jason Coleman, jcoleman@siweb.com , posted ...
> In article <MPG.125ab01a183daecc98a136@news.mindspring.com>,
> brahms@mindspring.com says...
> > jcoleman@siweb.com (Jason Coleman) wrote in news.software.readers:
> > >Does anyone know if Gravity is a multi-threaded app? It doesn't seem
> > >like it always behaves like one, and I can't remember ever having seen
> > >both my CPUs in use when performing multiple operations under Gravity.
> > >Thanks!
Snip
> Your example of doing multiple things at the same time is not an
> indicator of multithreading either. It may just have an execution order
> that it goes through which amounts to a application based, time-sliced
> mutli-task, but you can still do it under 1 thread.
I'm no programmer but when I open WinTop or Spy++ Gravity has 6
threads at the moment.
--
Tom B. Naples FL ** Gravity Page **
http://www.naplesfl.net/~tbates/gravity/
Re: Microplanet Gravity -- multithreaded?
Author: Jason Coleman
Date: Tue, 28 Sep 1999 00:00
Date: Tue, 28 Sep 1999 00:00
25 lines
1825 bytes
1825 bytes
In article <MPG.125ad6b65be2841d98a13c@news.mindspring.com>, brahms@mindspring.com says... > jcoleman@siweb.com (Jason Coleman) wrote in news.software.readers: > >as far as threading is > >concerned, under NT generally speaking having a multi-threaded app should > >be sufficient to put multiple CPUs to use if multiple threads are > >spawned. > > I did not know that. So NT will actually balance threads among > processors. Thanks for enlightening me. Actually I took your advice and already emailed them, I'll post the response I get. I feel kind of dumb for not having just asked them in the first place to tell the truth. Oh well. Oh, while I'm on the the multithreaded soapbox, I *think* most if not all modern OSes that have multiple CPU support perform thread balancing across multiple CPUs as an OS operation. I think it makes sense to do it at the OS level anyway, but I could be way off here. Someone please shoot me down if I'm spreading misinformation around! BTW, I like your sig quote Stan! -Jason
Re: Microplanet Gravity -- multithreaded?
Author: Tom B.
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
20 lines
1489 bytes
1489 bytes
Jason Coleman, jcoleman@siweb.com , posted ...
[snip]
> > I'm no programmer but when I open WinTop or Spy++ Gravity has 6
> > threads at the moment.
>
> That's good enough for me, thanks! I'll have to screw around with it
> more and see if I can get more threads generated. I don't know, maybe
> it's got some kind of processor affinity thing going on or some reason it
> doesn't take to the multiprocessor well.
> thanks!
If I start decoding I get another (7th) thread.
--
Tom B. Naples FL ** Gravity Page **
http://www.naplesfl.net/~tbates/gravity/
Re: Microplanet Gravity -- multithreaded?
Author: Jason Coleman
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
15 lines
1286 bytes
1286 bytes
In article <MPG.125b0ee7e9f19a929896f6@news.naplesfl.net>, nfn03862@naples.net says... > Jason Coleman, jcoleman@siweb.com , posted ... > > > I'm no programmer but when I open WinTop or Spy++ Gravity has 6 > threads at the moment. That's good enough for me, thanks! I'll have to screw around with it more and see if I can get more threads generated. I don't know, maybe it's got some kind of processor affinity thing going on or some reason it doesn't take to the multiprocessor well. thanks!
Re: Microplanet Gravity -- multithreaded?
Author: Jason Coleman
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
15 lines
1239 bytes
1239 bytes
In article <MPG.125acd06555d874a9896ea@news.micron.net>, jdenning@pobox.com says... > Multithreaded in relation to a communications program, such > as a news reader means, can it open more than one channel at > once. Say be downloading a file from one ng, and reading > messages from another. > True, I see your point, but I think the context of my message planted it firmly in the realm of processor threads, not communication streams. Thanks! -Jason
Re: Microplanet Gravity -- multithreaded?
Author: Tony Edwards
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
29 lines
1934 bytes
1934 bytes
In article <MPG.125c81edb1d3e6fc9896fa@news.naplesfl.net>, nfn03862@naples.net says... > Jason Coleman, jcoleman@siweb.com , posted ... > > [snip] > > > > I'm no programmer but when I open WinTop or Spy++ Gravity has 6 > > > threads at the moment. > > > > That's good enough for me, thanks! I'll have to screw around with it > > more and see if I can get more threads generated. I don't know, maybe > > it's got some kind of processor affinity thing going on or some reason it > > doesn't take to the multiprocessor well. > > thanks! > > If I start decoding I get another (7th) thread. > > There's a setting in the registry for setting the priority of certain threads, but I can't recall. I think it is system/engineext, but I will have to go back and check what it does... -- Tony Edwards MicroPlanet, Inc. http://www.microplanet.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads