473,486 Members | 2,359 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 2430
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
2571
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
4187
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
7099
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7123
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
7175
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...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4864
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
4559
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
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.