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