473,491 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

.NET IO Completion

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
Nov 16 '05 #1
2 2431
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" <Na***@discussions.microsoft.com> wrote in
news:A4**********************************@microsof t.com...
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

Nov 16 '05 #2
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" <Na***@discussions.microsoft.com> wrote in
news:A4**********************************@microsof t.com...
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

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1605
by: Edvard Majakari | last post by:
Suppose you have a program containing commands and file name parameters. A simple class providing completion could first read all the commands to list, and extend that list later using all file...
3
2572
by: John | last post by:
Hi, Could you give your opinions on the best code completion in Python IDEs. My only complaint with PythonWin has been that the code completion support is incomplete. The interactive mode has...
67
4188
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
4
1920
by: D Witherspoon | last post by:
Sometimes if I build the app I will get intellisense, undo, and code completion (automatic completion of if stataments etc), but after a few lines of code this stops. I lose any code completion...
0
286
by: Nadav | last post by:
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...
0
7935
by: Hiroyuki Tanaka | last post by:
Hi, I am trying to develop an application for a touch screen using buttons for the numeric pad with Completion ComboBoxes. At the moment I am having a problem sending the button presses to my...
0
2650
by: Hiroyuki Tanaka | last post by:
Hi All, I am trying to develop an application for a touch screen using buttons for the numeric pad with Completion ComboBoxes. At the moment I am having a problem sending the button presses to...
1
1685
by: Nadav | last post by:
Hi, Introduction: ************************* I am developing communication infrastructure for a streaming video server, to achieve optimal performance I use IO Completion ports & a thread pool...
0
950
by: Oded | last post by:
Hi, I'm working on an ASP.NET application, written in C#, using VS.NET . When working on aspx pages, HTML completion does not work (neither tag closing nor statement completion). Completion works...
4
1041
by: Rob Richardson | last post by:
Greetings! I am trying to write a set of macros to generate Property code for private variables. With the cursor on a line that says "Private m_MyThing as Thing", I would run the macro and ...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4578
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.