853 views
0 votes
0 votes
Assume that you are trying to download a large $2$-GB file from the Internet. The file is available from a set of mirror servers, each of which can deliver a subset of the file’s bytes; assume that a given request specifies the starting and ending bytes of the file. Explain how you might use threads to improve the download time.

1 Answer

0 votes
0 votes
As per me , 1st break that large file into subsets and use USER LEVEL THREAD to execute each subset with single thread

 

Please correct me if i was wrong

And also please acknowledge if I was right

Related questions

2 votes
2 votes
1 answer
2
admin asked Oct 24, 2019
1,946 views
When an interrupt or a system call transfers control to the operating system, a kernel stack area separate from the stack of the interrupted process is generally used. Wh...
0 votes
0 votes
0 answers
3
admin asked Oct 25, 2019
580 views
Consider a system in which it is desired to separate policy and mechanism for the scheduling of kernel threads. Propose a means of achieving this goal.
0 votes
0 votes
1 answer
4
admin asked Oct 24, 2019
589 views
In a system with threads, is there one stack per thread or one stack per process when user-level threads are used? What about when kernel-level threads are used? Explain....