Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #12716

Re: MultiTaskingClass.f released

Newsgroups comp.lang.forth
From Albert van der Horst <albert@spenarnc.xs4all.nl>
Subject Re: MultiTaskingClass.f released
Date 2012-06-05 16:45 +0000
Message-ID <m55l86.9sp@spenarnc.xs4all.nl> (permalink)
Organization Dutch Forth Workshop
References <507a107f-9c6a-4c7a-9f01-c8b111e9bab5@d17g2000vbv.googlegroups.com>

Show all headers | View raw


In article <507a107f-9c6a-4c7a-9f01-c8b111e9bab5@d17g2000vbv.googlegroups.com>,
Jos Ven  <josvengo@gmail.com> wrote:
>I just released MultiTaskingClass.f
>This is an update of the previous MultiTask.f
>
<SNIP>
>
>Background information for MultiTaskingClass.f:
>
>CPU's with multiple cores can execute a program faster than cpu's with
>a single core.  This is done by breaking up a program in smaller
>pieces
>and than execute all pieces simultaneously.
>
>In multiTaskingClass.f this idea is supported as follows:
<SNIP>

>
>
>I hope you like this new extension for Win32Forth.

I'm impressed, but I'm not in a position to experiment with multi-core
cpu's on windows.

If I understand correctly any Forth word may be executed, as long as it
has 8 stack items or less as input.
I would be interested to have an example of sorting a 2 Gbyte array
of cells, where the partitioning is split over as much tasks as there
are processors. Especially the timing results.

Something along the line of
: (QSORT)
  partition
  #idle-proc 0 > IF ['] (QSORT) separate-task ELSE RECURSE THEN
  #idle-proc 0 > IF ['] (QSORT) separate-task ELSE RECURSE THEN
;


Further, I presume there is some .dll involved in Windows.
What is it called? From what version of Windows on is it present?

(I had this parpi programming running as hundreds of parallel processes
under Linux 64 bits, but it was not fully under control.
Unlike qsort it has not the option of not using separate processes.)

>Jos


--
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

MultiTaskingClass.f released Jos Ven <josvengo@gmail.com> - 2012-06-04 05:12 -0700
  Re: MultiTaskingClass.f released Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-06-05 16:45 +0000
    Re: MultiTaskingClass.f released Jos Ven <josvengo@gmail.com> - 2012-06-05 12:31 -0700

csiph-web