Question

Compare the file-per-process and shared-file access patterns. Pros and cons.

Compare the file-per-process and shared-file access patterns. Pros and cons.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

File-Per-Process:

* One of the main parallel procedures individuals use for I/O is for each parallel procedure to write to its own file.

* This is a straightforward plan to execute and see however has the weakness that, toward the finish of the estimation, the information is spread crosswise over a wide range of files and may hence be hard to use for further examination without an information recreation stage.

* Every application task generates a separate file, and writes to only that file.

* Avoids from lock content on document frameworks that utilizes locks to keep up POSIX consistency

* Applications which are running today approximately creates around 100,000 tasks.

* It is not possible to restart application with various number of tasks.

Shared-File-Access:

* The issue with having numerous customers performing I/O in the meantime is that, to counteract them conflicting with one another, the I/O library may need to adopt a moderate strategy.

* For instance, a document might be bolted while every customer is getting to it which implies that I/O is successfully serialized and execution might be poor.

* In any case, in the event that I/O is done by and large where the library realizes that all customers are doing I/O in the meantime, at that point peruses and composes can be expressly organized to stay away from conflicts.

* It is just through aggregate I/O that the full data transfer capacity of the file can be acknowledged while getting to a single file.

* All application tasks will write to single file that was earlier created.

* Increases usability: only one file to keep of by application

* Can create lock content on and performance on certain systems

Add a comment
Know the answer?
Add Answer to:
Compare the file-per-process and shared-file access patterns. Pros and cons.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT