On Fri, 28 Nov 2008 07:01, Norman Ramsey wrote: > > On Thu, 27 Nov 2008 13:47, Norman Ramsey wrote: > > > I wonder if anybody on this list has come up with any good tricks > > > for exploiting parallelism using ksh. > > > > I can't see CPU being the limiting factor here > > That's because you're not teaching a class in which students are asked > to write CPU-intensive codes. Typical user CPU for a single test may > range from 10 sec to multiple minutes depending on the skill of the > student. Multiply that by one or two dozen tests times a couple of > dozen students and pretty soon parallelism starts to look very > attractive... > No, I usually teach classes about databases (whenever I teach which is sporadic) but I do wonder the sense of using ksh for CPU intensive work then. Wouldn't be my weapon of first choice unless I knew that the shell will glue together some funky use of sort, uniq, or other powerful tools.
I was alluding to the classic shell script which mucks around with files and pipes. and fires off executables at a breathless rate. In this most typical case, I/O will be your limit. Still, thanks for the clarification of your needs. Good luck. _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
