I have been fooling around with the RemoteLush function on a smp Ubuntu
machine. Using the most recent SVN version, I started a LushSlave session,
labeled 'aremote', and, in another console, I compiled the harmonic
example, and ran the following:
? (cputime (==> aremote send (repeat 1000 (harmonic 1000000))))
*** Warning: could not save file position (bwrite)
*** : Illegal seek
= 11.35
? (==> aremote send (repeat 1000 (harmonic 1000000)))
*** Warning: could not save file position (bwrite)
*** : Illegal seek
= ()
? (cputime (==> aremote send (repeat 1000 (harmonic 1000000))) (repeat 1000
(harmonic 1000000)))
*** Warning: could not save file position (bwrite)
*** : Illegal seek
= 22.96
?
First, I don't know why I get the illegal seek, which shows up on both the
local terminal and in the LushSlave.
Second, I expected that the 'send' function would immediately return and
begin running a local version of harmonic. This didn't seem to happen. I
was watching the utilization of the processors on Xosview, and it appeared
that it ran the remoteLush function, and, when that was done, ran the local
version of harmonic. This seemed more in keeping with the 'exec' function
than with 'send'. Possibly I don't understand what it is supposed to do,
but I would like to be able to two or more things at once.
Thanks for all your effort on this.
Blake
Ralf Juengling
interpreter/general
None
Public
|
Date: 2009-11-08 22:39 Fixed the warning issue. |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-11-17 17:16 | rjuengling |
| resolution_id | None | 2009-11-17 17:16 | rjuengling |
| allow_comments | 1 | 2009-11-17 17:16 | rjuengling |
| close_date | - | 2009-11-17 17:16 | rjuengling |
| assigned_to | nobody | 2009-11-08 22:39 | rjuengling |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use