9front - general discussion about 9front
 help / color / mirror / Atom feed
* How is smp handled in file services?
@ 2020-03-10 23:49 Trevor Higgins
  2020-03-11  1:03 ` [9front] " ori
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Higgins @ 2020-03-10 23:49 UTC (permalink / raw)
  To: 9front

Just trying ti understand the data flow through the kernel (as compared 
to *nix).

Given the following easy to understand example:

Assume that three processes are writing to /dev/audio through the mixfs 
file server. Given that all processes are on the same terminal server, 
and that there are ample idle cpu cores (ignore locking and other side 
effects), what is the data flow path in mixfs:

    1. All three procs sleep while some proc processes the write 
requests sequentially, returning the results sequentially.

    2. All three procs enter the file service and process one request 
concurrently and return result directly to own process.

I am assuming that unless designed specifically in the file server, that 
the answer is 1.


-- 
We need another plan



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

end of thread, other threads:[~2020-03-13 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 23:49 How is smp handled in file services? Trevor Higgins
2020-03-11  1:03 ` [9front] " ori
2020-03-11  2:22   ` Trevor Higgins
2020-03-11  2:28     ` ori
2020-03-13 16:25       ` hiro

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).