Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Date: Sat, 2 Aug 2008 23:43:21 +0200
- From: Attila Kinali <attila@example.com>
- Subject: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- References: <b6c67a3d0807202032m5ed3843fu9eb6c2e851e26a0e@mail.gmail.com> <48844B78.9080505@sun.com> <87iquyh5pb.fsf@uwakimon.sk.tsukuba.ac.jp> <20080722093518.GC450@lucky.cynic.net> <873am1hlq5.fsf@uwakimon.sk.tsukuba.ac.jp> <20080724041853.GM2936@lucky.cynic.net> <87iquvyc7y.fsf@uwakimon.sk.tsukuba.ac.jp> <20080724112711.GB7891@lucky.cynic.net> <87fxpzx9mt.fsf@uwakimon.sk.tsukuba.ac.jp> <20080727120405.752622d9.attila@kinali.ch> <20080727223043.GK4228@pragmatic.cynic.net> <20080802131955.0f212ea8.attila@kinali.ch> <871w17m9ry.fsf@uwakimon.sk.tsukuba.ac.jp>
- Organization: NERV
On Sun, 03 Aug 2008 05:39:29 +0900 "Stephen J. Turnbull" <stephen@example.com> wrote: > Attila Kinali writes: > > > I could see a couple of reasons why STM cannot work the first > > time i read about it. So this argument "why shouldn't it" is > > pretty much void. > > > > As an example, imagine two tasks doing some work on exactly the > > same data set in a loop, over and over again. Task B takes longer > > than task A to finish its work. > > The Doctor says, "put down the hammer". Of course you use some kind > of queue in this case. > > But no matter what you do, you're not going to get much better > performance than if you combine the tasks in the same loop instead of > running them in separate threads/processes. Exactly, but unfortunately, there are cases where you cannot do that and you have to be able to have updates from different tasks. And yes, this is really a pathological case that you should not design for. But then again, we are talking about the real world, where such things come up. Any system (being it software or hardware) that does not account for the possibility of non-ideal behaviour will fail at some point. At latest when a few thousand people are using it. Attila Kinali -- The true CS students do not need to know how to program. They learn how to abstract the process of programming to the point of making programmers obsolete. -- Jabber in #holo
- Follow-Ups:
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Stephen J. Turnbull
- References:
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Attila Kinali
- Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Next by Date: Re: work times & accommodation @tokyo, WAS: Re: [tlug] Embedded linux dev wanting to find work in Tokyo.. Seeking advice.
- Previous by thread: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Next by thread: Re: [tlug] STM (was: Re: work times & accommodation @tokyo)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links