zsh-users
 help / color / mirror / code / Atom feed
* Parallel processing
@ 2022-03-26  4:34 jdh
  0 siblings, 0 replies; 12+ messages in thread
From: jdh @ 2022-03-26  4:34 UTC (permalink / raw)
  To: zsh-users


"Not every program reacts well to parallel processing, for example conventional (non-SSD) disk IO becomes magnitudes slower if two processes read/write disk at the same time because the disk head needs to keep jumping back and forth between different areas of the HDD to serve multiple processes."

This is not in the zsh topic realm but consideration should be given to avoid hard disk drive thrashing.  

dh


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Re: Parallel processing
@ 2022-03-27 18:37 jdh
  2022-03-27 19:06 ` Bart Schaefer
  2022-03-28 13:47 ` Perry Smith
  0 siblings, 2 replies; 12+ messages in thread
From: jdh @ 2022-03-27 18:37 UTC (permalink / raw)
  To: zsh-users



Re: the phrase "parallel processing":

So that beginners do not get the wrong idea I wish to make clear that Unix based systems are not designed to, and can not do parallel processing.  Strictly speaking it is also not designed to do real time processing. Unix/Linux does do multitasking by using task switching.  Unix based systems does allow users with the proper priviledge to set task priority, which helps in deciding which task gets more run time.

dh


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Parallel processing
@ 2022-03-25  4:34 Perry Smith
  2022-03-25 18:27 ` Bart Schaefer
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Perry Smith @ 2022-03-25  4:34 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

Has something like prll (parallel) https://github.com/exzombie/prll <https://github.com/exzombie/prll> been added to zsh?

I need to do about 20 commands.  Each will take several hours to perhaps days.  I’d like to start some fixed number like 4 jobs that are running.  The others are waiting for one of the others to get finished.

I tried creating a Makefile and use the -j option in make but my targets have spaces in them and make doesn’t like that.  (This is on a BSD system.)

Thank you,
Perry

[-- Attachment #2: Type: text/html, Size: 929 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-03-28 13:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26  4:34 Parallel processing jdh
  -- strict thread matches above, loose matches on Subject: below --
2022-03-27 18:37 jdh
2022-03-27 19:06 ` Bart Schaefer
2022-03-27 19:24   ` Ray Andrews
2022-03-28 13:47 ` Perry Smith
2022-03-25  4:34 Perry Smith
2022-03-25 18:27 ` Bart Schaefer
2022-03-26 18:10   ` Philippe Troin
2022-03-26 22:19     ` Bart Schaefer
2022-03-27 17:32       ` Philippe Troin
2022-03-27 17:42         ` Bart Schaefer
2022-03-27 19:23 ` Dominik Vogt
2022-03-28 13:26   ` Perry Smith
2022-03-28 13:31 ` Perry Smith

Code repositories for project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).