﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-天生.NET-最新评论</title><link>http://www.cnblogs.com/asilas/CommentsRSS.aspx</link><description>以爱国的方式崩溃</description><language>zh-cn</language><pubDate>Tue, 04 Apr 2006 07:29:01 GMT</pubDate><lastBuildDate>Tue, 04 Apr 2006 07:29:01 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2009/03/15/311309.html#1477301</link><dc:creator>Laser.NET</dc:creator><author>Laser.NET</author><pubDate>Sun, 15 Mar 2009 06:19:24 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2009/03/15/311309.html#1477301</guid><description><![CDATA[路过，留个记号：）<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">Laser.NET</a> 2009-03-15 14:19 <a href="http://www.cnblogs.com/asilas/archive/2009/03/15/311309.html#1477301#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2009/01/27/311309.html#1438467</link><dc:creator>飞翔的青蛙脑袋</dc:creator><author>飞翔的青蛙脑袋</author><pubDate>Tue, 27 Jan 2009 02:54:58 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2009/01/27/311309.html#1438467</guid><description><![CDATA[to 让变化成为计划的一部分<br/><br/>你贴那个网址打不开，需要用户和密码！<br/><br/>我在2009年来看这个，怎么有点时空穿梭的意味？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">飞翔的青蛙脑袋</a> 2009-01-27 10:54 <a href="http://www.cnblogs.com/asilas/archive/2009/01/27/311309.html#1438467#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考[未登录]</title><link>http://www.cnblogs.com/asilas/archive/2007/06/28/311309.html#798905</link><dc:creator>zzq</dc:creator><author>zzq</author><pubDate>Thu, 28 Jun 2007 06:29:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2007/06/28/311309.html#798905</guid><description><![CDATA[这么说来根本就没有什么意义！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">zzq</a> 2007-06-28 14:29 <a href="http://www.cnblogs.com/asilas/archive/2007/06/28/311309.html#798905#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 一个小工具,用于构建HTML的stringbuilder[未登录]</title><link>http://www.cnblogs.com/asilas/archive/2007/05/18/88187.html#751221</link><dc:creator>sa</dc:creator><author>sa</author><pubDate>Fri, 18 May 2007 02:58:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2007/05/18/88187.html#751221</guid><description><![CDATA[很实用的工具，我也在用你的。<br>不过介简再放个回车键，空行的处理。<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">sa</a> 2007-05-18 10:58 <a href="http://www.cnblogs.com/asilas/archive/2007/05/18/88187.html#751221#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2007/01/31/311309.html#635804</link><dc:creator>byjove</dc:creator><author>byjove</author><pubDate>Wed, 31 Jan 2007 06:42:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2007/01/31/311309.html#635804</guid><description><![CDATA[Sonic.net 在pause 时,也不能恢复.....<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">byjove</a> 2007-01-31 14:42 <a href="http://www.cnblogs.com/asilas/archive/2007/01/31/311309.html#635804#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2006/06/30/311309.html#439925</link><dc:creator>让变化成为计划的一部分</dc:creator><author>让变化成为计划的一部分</author><pubDate>Fri, 30 Jun 2006 10:22:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2006/06/30/311309.html#439925</guid><description><![CDATA[<a target="_new" href="http://devauthority.com/blogs/krys/archive/2006/06/13/HighPerformanceSocket.aspx">http://devauthority.com/blogs/krys/archive/2006/06/13/HighPerformanceSocket.aspx</a>,<br>High Performance Socket in .NET - using IOCP Thread &amp; more..<br><br>嘿嘿，就是用IOCP做的Socket。<br>Sonic.net 的问题比较严重，经常会发现，只有一个线程在那里狂转，其他的线程闲着。这个很不符合IOCP的原意。所以，Sonic.net 还只能算是试图模拟IOCP，但模拟的并不完美。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">让变化成为计划的一部分</a> 2006-06-30 18:22 <a href="http://www.cnblogs.com/asilas/archive/2006/06/30/311309.html#439925#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2006/06/23/311309.html#434102</link><dc:creator>baoli</dc:creator><author>baoli</author><pubDate>Fri, 23 Jun 2006 09:36:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2006/06/23/311309.html#434102</guid><description><![CDATA[终于在这里找到异步是使用iocp的最后说法了，但是随之而来的一个问题是，为什么很多地方都说异步的性能比不上真正的iocp 呢？<br><br>另外这个c#下的一个iocp实现：<br>Sonic.net<br><a target="_new" href="http://www.codeproject.com/csharp/managediocp.asp">http://www.codeproject.com/csharp/managediocp.asp</a> <br>测试了一下，发现有一个比较严重的bug，就是在队列数大的时候，工作时间长了，就会发生只有一个线程在运行，而且线程处于等待的情况。在性能方面通过和使用api的GetQueuedCompletionStatus等iocp函数对比，也还是有点差距......<br><br>难道dotnet真的不可能达到iocp性能？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">baoli</a> 2006-06-23 17:36 <a href="http://www.cnblogs.com/asilas/archive/2006/06/23/311309.html#434102#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2006/01/31/311309.html#324468</link><dc:creator>neoragex2002</dc:creator><author>neoragex2002</author><pubDate>Tue, 31 Jan 2006 06:12:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2006/01/31/311309.html#324468</guid><description><![CDATA[to 飞刀.Net：<br>其实这个帖子所讨论的问题可以从平台实现机制和网络I/O模式两方面来看，尽管在linux/win32下具体机制略为不同，各有局限，但依然存在着借助模式设计实现&quot;跨平台完成端口&quot;的可能，比如说ACE中的前摄器模式(proactor)。我想ACE就是你要找的东西。<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">neoragex2002</a> 2006-01-31 14:12 <a href="http://www.cnblogs.com/asilas/archive/2006/01/31/311309.html#324468#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2006/01/29/311309.html#324150</link><dc:creator>飞刀.Net</dc:creator><author>飞刀.Net</author><pubDate>Sun, 29 Jan 2006 07:26:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2006/01/29/311309.html#324150</guid><description><![CDATA[我这几天安心看了一下完成端口方面的资料.<br><br>发现他的模型与Java中的nio差不多,应当nio的windows实现就是使用的完成端口.<br><br>我看了资料后发现,ThreadPool,Select在完成端口的实现中一个都没有少过,好像没有太新的东东(当然他上个世纪末就出现了),所以楼主对几种的分类，好像界限不对．<br><br>唯一的区别就是把用户态的线程调入了核心态,减少了可能的线程切换,更有利操作系统本身对CPU时间片的利用.<br><br>单就模型来说,在用户态中亦可实现,就像Sonic.Net一样以及java中的concurrent中线程池的实现．<br><br>其实楼上的争论似乎没有太大的意义,.Net中的线程似乎也是个本地线程(不像Java中是JVM的自身实现的线程)，其本身的ThreadPool就更不用说了，而且Windows的线程本身就是可以调入核心态的．从理论上说，用.net实现的ＩＯＣＰ确实可以获是和Win32一样的性能，现实估计也差不了很多（Sonic.Net作者自己说的）.<br><br>现在我想的问题的就是在Linux这样的一个分时系统之下，需要如何完成类似完成端口的东东，如何减少线程（进程）的切换？<br>ccBoy提供了一个aio，我不太清楚，我呆会儿查查．<br><br>不知道大过年的，有没有人还有兴趣和我讨论这些？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">飞刀.Net</a> 2006-01-29 15:26 <a href="http://www.cnblogs.com/asilas/archive/2006/01/29/311309.html#324150#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET平台下几种SOCKET模型的简要性能供参考</title><link>http://www.cnblogs.com/asilas/archive/2006/01/05/311309.html#311799</link><dc:creator>天生这样</dc:creator><author>天生这样</author><pubDate>Thu, 05 Jan 2006 11:08:00 GMT</pubDate><guid>http://www.cnblogs.com/asilas/archive/2006/01/05/311309.html#311799</guid><description><![CDATA[领教了：）<br><br>没想到这些日子来的疑惑今天都有了点头绪了。<br><br>性能上的问题，我最后也提到了，是一些资料的摘抄，我自己也没有试过。<br><br>但从原理和表层实现方式来上说，这些指标也是大概有个数的。<br><br>对于一般的程序设计，选择哪个模型也有一点意义的：）<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/asilas/" target="_blank">天生这样</a> 2006-01-05 19:08 <a href="http://www.cnblogs.com/asilas/archive/2006/01/05/311309.html#311799#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
