Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: MCE: Slow IPC between child and gather process in parent

by sundialsvc4 (Abbot)
on May 03, 2018 at 12:32 UTC ( [id://1213993]=note: print w/replies, xml ) Need Help??


in reply to Re^3: MCE: Slow IPC between child and gather process in parent
in thread MCE: Slow IPC between child and gather process in parent

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: MCE: Slow IPC between child and gather process in parent
by jeffenstein (Hermit) on May 03, 2018 at 15:10 UTC

    Ok, I'll bite.

    You said:

    I predict that if instead you read the file sequentially (and advised the operating system that this is what you intend to be doing), the OS will read the data from the file in large gulps and stash it in memory, and it would “lazily” write the output in like manner.

    But the OP already said:

    I have a reasonably large dataset of html files ( +/- 950K files, average size 23K, total size 21G) which I need to parse ...

    So it's not possible to read sequentially.

    That said, how much the process can benefit or not from parallelism depends on way too many factors (disk layout, OS, kernel parameters, other workloads on the same infrastructure, the phase of Venus, etc.) It's just not possible to make an absolute statement. As marioroy and Anonymous Monk mentioned above, the OP needs to benchmark it in his particular environment to see how much parallelism is optimal.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^5: MCE: Slow IPC between child and gather process in parent
by Anonymous Monk on May 03, 2018 at 13:14 UTC
    You established nothing. Stop posting non answers. Your comments are trite and add nothing to a technical discussion

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-26 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found