Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Discovery: Concurrency problems might be used to create ps..

 
Goto page Previous  1, 2
   Game Forums (Home) -> Core War RSS
Related Topics:
Score Surface for 94nop - Hi, some anonymous person (still called for ;-) is so kind to provide access to a pile of I have suggested to calculate one score surface for standard settings. It takes roughly 1000 times the time of one surface to..

Bug in pMARS - Hi, either I don't know how EQUs work or I have found a bug in the parser of pMARS. So far I cound pin it down to: ;name test ;assert CORESIZE == 800 v3 EQU 3 * (3 / 2 + 1) + 3 v4 EQU (CORESIZE - v3) dat.f v3, v4 With the..

KOTH.ORG: Status - ICWS Experimental 94 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG ICWS 94..

KOTH.ORG: Status - MultiWarrior 94 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG 94 CoreWar..

KOTH.ORG: Status - 94 No Pspace 03/06/06 - Weekly Status on 03/06/06 -=- is up! Meetings held in #corewars -=- Tons of new features on pages -=- *FAQ* page located at: Current Status of the KOTH.ORG 94 No Pspace CoreWar Hill:..
Next:  Core War: Skybuck's SuperChargedBomberV1  
Author Message
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 16) Posted: Sun Dec 23, 2007 12:58 am
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: alt>comp>lang>borland-delphi, others (more info?)

Your wish has been forfilled.

I had some time and wrote some code.

See the new thread called:

"Skybuck's Racing Random Number Generator"

Bye,
Skybuck.

 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Rudy Velthuis

External


Since: Dec 23, 2007
Posts: 1



(Msg. 17) Posted: Sun Dec 23, 2007 1:01 am
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Skybuck Flying wrote:

> Your wish has been forfilled.

Is that a new word?
--
Rudy Velthuis http://rvelthuis.de

"Defining and analyzing humor is a pastime of humorless people."
-- Robert Benchley (1889 - 1945)

 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Zathras

External


Since: Dec 21, 2007
Posts: 6



(Msg. 18) Posted: Sun Dec 23, 2007 11:31 am
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 23 Dec 2007 00:58:06 +0100, "Skybuck Flying"
<spam.DeleteThis@hotmail.com> wrote:

>Your wish has been forfilled.

Google 'forfilled' produces "Did you mean: fulfilled"

>I had some time and wrote some code.
>
>See the new thread called:
>
>"Skybuck's Racing Random Number Generator"

Excellent...

--
Z
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Vend

External


Since: Dec 19, 2007
Posts: 7



(Msg. 19) Posted: Sun Dec 30, 2007 4:50 am
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: alt>comp>lang>borland-delphi, others (more info?)

On Dec 20, 10:43 pm, "Skybuck Flying" <s... RemoveThis @hotmail.com> wrote:
> How so ?
>
> Different instructions have different latencies.
>
> Multiple threads executing all kinds of weird maybe even useless
> instructions might end-up getting slightly different ammounts of time slices
> etc...
>
> This could create difficult to predict random numbers ?
>
> In other words, given enough instructions threads will not execute perfectly
> in sync, but different...

Threads don't execute in sync, but their execution offsets will tend
to vary according to predictable patterns.

> Bye,
> Skybuck.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Ertugrul Söylemez

External


Since: Feb 11, 2008
Posts: 5



(Msg. 20) Posted: Mon Feb 11, 2008 1:58 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: alt>comp>lang>borland-delphi, others (more info?)

On Sat, 1 Dec 2007 21:35:31 +0100
"Skybuck Flying" <spam.DeleteThis@hotmail.com> wrote:

> Just create multiple threads/instances let them execute some
> instructions...

Besides the comments of the other posters, you can get much better
randomness with much less overhead, so why bother?


Regards,
Ertugrul Söylemez.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 21) Posted: Mon Feb 11, 2008 3:05 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>> Just create multiple threads/instances let them execute some
>> instructions...

> Besides the comments of the other posters, you can get much better
> randomness with much less overhead, so why bother?

Ok, I'll bite:

How ? Smile

Bye,
Skybuck Smile
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Ertugrul Söylemez

External


Since: Feb 11, 2008
Posts: 5



(Msg. 22) Posted: Mon Feb 11, 2008 4:17 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 11 Feb 2008 15:05:23 +0100
"Skybuck Flying" <spam.DeleteThis@hotmail.com> wrote:

> >> Just create multiple threads/instances let them execute some
> >> instructions...
> >
> > Besides the comments of the other posters, you can get much better
> > randomness with much less overhead, so why bother?
>
> Ok, I'll bite:
>
> How ? Smile

By using well established methods. By gathering entropy from sources,
which are much more random than parallel execution drift. I/O, human
interaction, environmental noise, etc.


Regards,
Ertugrul Söylemez.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 23) Posted: Mon Feb 11, 2008 4:28 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>> >> Just create multiple threads/instances let them execute some
>> >> instructions...
>> >
>> > Besides the comments of the other posters, you can get much better
>> > randomness with much less overhead, so why bother?
>>
>> Ok, I'll bite:
>>
>> How ? Smile

>By using well established methods. By gathering entropy from sources,
>which are much more random than parallel execution drift. I/O, human
>interaction, environmental noise, etc.

Human interaction, i/o is already included in the parallel execution drift.

Each time harddisks, mouse, or whatever is used or invoked (by the user or
otherwise) it affects the threading and the rest of the machine.

So I would consider those inputs already represented in the "parallel drift"
as you call it Smile Wink

Bye,
Skybuck.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Ertugrul Söylemez

External


Since: Feb 11, 2008
Posts: 5



(Msg. 24) Posted: Mon Feb 11, 2008 4:47 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 11 Feb 2008 16:28:13 +0100
"Skybuck Flying" <spam.DeleteThis@hotmail.com> wrote:

> >>>> Just create multiple threads/instances let them execute some
> >>>> instructions...
> >>>
> >>> Besides the comments of the other posters, you can get much better
> >>> randomness with much less overhead, so why bother?
> >>
> >> Ok, I'll bite:
> >>
> >> How ? Smile
> >
> > By using well established methods. By gathering entropy from
> > sources, which are much more random than parallel execution drift.
> > I/O, human interaction, environmental noise, etc.
>
> Human interaction, i/o is already included in the parallel execution
> drift.
>
> Each time harddisks, mouse, or whatever is used or invoked (by the
> user or otherwise) it affects the threading and the rest of the
> machine.
>
> So I would consider those inputs already represented in the "parallel
> drift" as you call it Smile Wink

Yes, with minimal to zero impact. Even a keystroke can impact the PRNG
state a lot. Considering the granularity of current timer chips and the
typing rate of the average user, and the granularity with which an
attacker can measure/estimate the exact time of the stroke, each stroke
adds at least about 10 bits of randomness, if you mix the system time
into the pool at each stroke.

With your method, how much entropy is added by a keystroke? Likely none
at all, because a key stroke produces little overhead. It wouldn't
impact your thread pair noticably.

In traditional methods, not only the fact that I/O is being done, and
the length and overhead are used as entropy, but also the nature and
some other data about the I/O are used. With your method, you waste a
lot of potential entropy.

If your view is different, go ahead and provide a proof of concept. And
even if you manage to show that your method does actually generate a few
entropy bits per hour (which it certainly does), then why should one
want to prefer your method? It wastes system resources -- all the time.


Regards,
Ertugrul Söylemez.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
David Eather

External


Since: Jan 02, 2008
Posts: 3



(Msg. 25) Posted: Tue Feb 12, 2008 10:25 am
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ertugrul Söylemez wrote:
> On Mon, 11 Feb 2008 16:28:13 +0100
> "Skybuck Flying" <spam.DeleteThis@hotmail.com> wrote:
>
>>>>>> Just create multiple threads/instances let them execute some
>>>>>> instructions...
>>>>> Besides the comments of the other posters, you can get much better
>>>>> randomness with much less overhead, so why bother?
>>>> Ok, I'll bite:
>>>>
>>>> How ? Smile
>>> By using well established methods. By gathering entropy from
>>> sources, which are much more random than parallel execution drift.
>>> I/O, human interaction, environmental noise, etc.
>> Human interaction, i/o is already included in the parallel execution
>> drift.
>>
>> Each time harddisks, mouse, or whatever is used or invoked (by the
>> user or otherwise) it affects the threading and the rest of the
>> machine.
>>
>> So I would consider those inputs already represented in the "parallel
>> drift" as you call it Smile Wink
>
> Yes, with minimal to zero impact. Even a keystroke can impact the PRNG
> state a lot. Considering the granularity of current timer chips and the
> typing rate of the average user, and the granularity with which an
> attacker can measure/estimate the exact time of the stroke, each stroke
> adds at least about 10 bits of randomness, if you mix the system time
> into the pool at each stroke.

This estimate seems very high.


>
> With your method, how much entropy is added by a keystroke? Likely none
> at all, because a key stroke produces little overhead. It wouldn't
> impact your thread pair noticably.
>
> In traditional methods, not only the fact that I/O is being done, and
> the length and overhead are used as entropy, but also the nature and
> some other data about the I/O are used. With your method, you waste a
> lot of potential entropy.
>
> If your view is different, go ahead and provide a proof of concept. And
> even if you manage to show that your method does actually generate a few
> entropy bits per hour (which it certainly does), then why should one
> want to prefer your method? It wastes system resources -- all the time.
>
>
> Regards,
> Ertugrul Söylemez.
>
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Ertugrul Söylemez

External


Since: Feb 11, 2008
Posts: 5



(Msg. 26) Posted: Tue Feb 12, 2008 11:08 am
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 12 Feb 2008 10:25:11 +1000
David Eather <eather.TakeThisOut@tpg.com.au> wrote:

> > Yes, with minimal to zero impact. Even a keystroke can impact the
> > PRNG state a lot. Considering the granularity of current timer
> > chips and the typing rate of the average user, and the granularity
> > with which an attacker can measure/estimate the exact time of the
> > stroke, each stroke adds at least about 10 bits of randomness, if
> > you mix the system time into the pool at each stroke.
>
> This estimate seems very high.

Well, again consider that current timer chips have a very high
granularity up to microseconds. I don't expect any attacker (without
the ability to manipulate the keyboard or OS) to be able to estimate the
exact time of a key press any more precisely than to milliseconds. That
makes 10 bits pretty reasonable.

Maybe I've missed something? What do you think? But even if I did, and
even if this method adds only a single bit per key stroke, I'd still
consider it a better entropy source, because it's random, while
Skybuck's method is highly predictable.


Regards,
Ertugrul Söylemez.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 27) Posted: Tue Feb 12, 2008 7:47 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

So far I have seen no proof that it was predictable.

Check out the latest version which has the bug fixes.

Bye,
Skybuck.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Ertugrul Söylemez

External


Since: Feb 11, 2008
Posts: 5



(Msg. 28) Posted: Wed Feb 13, 2008 12:04 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 12 Feb 2008 19:47:41 +0100
"Skybuck Flying" <spam RemoveThis @hotmail.com> wrote:

> So far I have seen no proof that it was predictable.
>
> Check out the latest version which has the bug fixes.

Yes, because Usenet just isn't an appropriate place for specifications.
Unless you write a paper about your method, including analysis, simply
nobody is going to be interested seriously. So nobody feels like
analyzing your little elaboration any more than telling you that it
wouldn't be useful in real-world scenarious anyway, even if it would
provide a reasonable amount of entropy.


Regards,
Ertugrul Söylemez.
 >> Stay informed about: Discovery: Concurrency problems might be used to create ps.. 
Back to top
Login to vote
Skybuck Flying

External


Since: May 25, 2006
Posts: 295



(Msg. 29) Posted: Wed Feb 13, 2008 3:04 pm
Post subject: Re: Discovery: Concurrency problems might be used to create pseudo random number generators or filling patterns. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Core War All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]