.NET IO Completion

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Usage of FileStream ( and other stream related objects ) internally use an IO Completion port, Now, Taking that in mind, does all of the stream object of a certain process use a single IO Completion port common to all streams ( file based streams, e.g. socket, file, ... )? This could easily done with Win32 API by creating a single IO Completion port and associating it with several file based objects ( e.g. several sockets ).
Usage of a single IO Completion port for all streams of a certain process dramatically decrease the amount of context switches done...
What is the way File based Streams are implemented by the .NET Framework? do they use a single IO Completion port or a dedicated port for each stream?

Nadav
http://www.ddevel.com
 
You should take a look at SSCLI aka. ROTOR.
I think you could find all the information you need there.

If you are willing to search...

Niki

Nadav said:
Hi,

Usage of FileStream ( and other stream related objects ) internally use an
IO Completion port, Now, Taking that in mind, does all of the stream object
of a certain process use a single IO Completion port common to all streams
( file based streams, e.g. socket, file, ... )? This could easily done with
Win32 API by creating a single IO Completion port and associating it with
several file based objects ( e.g. several sockets ).
Usage of a single IO Completion port for all streams of a certain process
dramatically decrease the amount of context switches done...
What is the way File based Streams are implemented by the .NET Framework?
do they use a single IO Completion port or a dedicated port for each stream?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top