From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,bf2ea6865e8fab59 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,bf2ea6865e8fab59 X-Google-Attributes: gidfee84,public X-Google-Thread: 10650a,bf2ea6865e8fab59 X-Google-Attributes: gid10650a,public From: heiby_u@falkor.chi.il.us (Ron Heiby) Subject: Re: Lots of Threads = Digital Unix. Period. Date: 1998/05/11 Message-ID: <355729a8.4032208@149.174.211.108>#1/1 X-Deja-AN: 352257932 Content-Transfer-Encoding: 7bit References: <35464b25.29547822@149.174.211.108> <35472D6A.145BBC1A@brighttiger.com> <355120c7.4143478@149.174.211.108> <355362A3.FC9AB18B@cisco.com> Content-Type: text/plain; charset=us-ascii Organization: Strategis Consulting Inc. MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.unix.internals,comp.unix.programmer Srikanth Throvagunta wrote: >There is also another feature of >Digital Unix which is called two-level scheduling. >It basically maps user threads on to >kernel execution contexts (what are known as LWPs in Solaris). >... >I feel you should take these factors into consideration, >when you are playing with Digital Unix. You make a very good point. However, I am concerned about how widespread this feature is. There is no guarantee that I am going to be using Digital UNIX for the life of the application. For that matter, there is no guarantee that it's even going to be rolled out on Digital UNIX in the first place! Also, and my understanding here may be cloudy, since the main impetus behind having lots of threads is to be able to efficiently handle lots of concurrent and always-connected sockets, I don't know that user mode threads would do me much good. I had been thinking that I wanted to be able to do blocking I/O on those sockets. If I do, am I not causing one of my (more limited number of) kernel contexts to block, making it unavailable for other use until the I/O completes? Thanks!