From JNord at nds.com Thu Sep 4 09:08:55 2008 From: JNord at nds.com (Nord, James) Date: Thu, 4 Sep 2008 17:08:55 +0100 Subject: [Fwd: Anyone tried the multicast support yet?] In-Reply-To: <487F4397.6070602@sun.com> References: <487F4397.6070602@sun.com> Message-ID: Hi Alan, We tested multicast with the new non SSM multicast support in NIO, and we have found that it performs to our expectations (windows server 2003 SP2, server class hardware). The NIO implementation is able to handle more traffic and at a lower CPU load before data loss occurs. Unfortunately we do not have an SSM network to hand to test the S,G features. Look forward to testing the Asynchronous datagram channel Regards, /James > > > I'm wondering if anyone on this mailing list has tried the > multicast and other socket-channel changes yet? While > somewhat niche, many developers have been being asking for > this feature for many years. If you are willing to try it > out then the javadoc, source code, and binaries are available > via the project page [1]. To re-cap, the updates allow a > DatagramChannel's socket join multicast groups so that > multicast datagrams can be received. We've used the > opportunity to update the multicast support to the most > recent IEFT standards and specifically source-specific > multicast (IGMPv3 and MLDv2). Implementation changes include > support for the new IPv6 stack on Windows Vista, something > that would also be useful to get feedback on. > > My motive for asking for feedback at this time is that we > would like to push the changes for this part of the API to > the jdk7 repository soon. > The reason for this is make it easier to merge and stay in > sync with other bug fixing other in the channels area. Also, > there is other on-going work that has dependencies on the > changes in the API and implementation changes in the nio repository. > > If you are interested in trying it then there is some sample > code in the $JDK_HOME/sample/nio/multicast directory that > exercises the API. This also demonstrates inclusive and > exclusive mode filtering for those interesting in trying that out. > > Thank you, > Alan. > > [1] http://openjdk.java.net/projects/nio > > ********************************************************************************************************* This e-mail is confidential, the property of NDS Ltd and intended for the addressee only. Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify the postmaster at nds.com and destroy the original message. Messages sent to and from NDS may be monitored. NDS cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS. To protect the environment please do not print this e-mail unless necessary. NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00 ********************************************************************************************************** From Alan.Bateman at Sun.COM Thu Sep 4 12:33:03 2008 From: Alan.Bateman at Sun.COM (Alan Bateman) Date: Thu, 04 Sep 2008 20:33:03 +0100 Subject: [Fwd: Anyone tried the multicast support yet?] In-Reply-To: References: <487F4397.6070602@sun.com> Message-ID: <48C037EF.7050204@sun.com> Nord, James wrote: > Hi Alan, > > We tested multicast with the new non SSM multicast support in NIO, and > we have found that it performs to our expectations (windows server 2003 > SP2, server class hardware). > > The NIO implementation is able to handle more traffic and at a lower CPU > load before data loss occurs. > > Unfortunately we do not have an SSM network to hand to test the S,G > features. > > Look forward to testing the Asynchronous datagram channel > Thank you for the mail. The multicast support and other updates to the socket-channel API were pushed to the core libs repository a few days ago and should be in jdk7 b36. I'll send mail once the AsynchronousDatagramChannel is available in an early access build. -Alan. From Alan.Bateman at Sun.COM Wed Sep 24 09:31:53 2008 From: Alan.Bateman at Sun.COM (Alan Bateman) Date: Wed, 24 Sep 2008 17:31:53 +0100 Subject: nio2 build 95 available Message-ID: <48DA6B79.6050603@sun.com> In the file system API this build improves the temporary file support. In the asynchronous I/O API, the implementation has been updated to work correctly with fixed thread pools. The build is synchronized with jdk7 b35. Binaries: http://download.java.net/jdk7/jsr203/binaries Javadoc: http://openjdk.java.net/projects/nio/javadoc/index.html Summary of changes: http://openjdk.java.net/projects/nio/changes/nio2-b95.html Thank you to everyone that is trying these builds and sending back bug reports and issues. A special thank to the Alex and Yevgeny Libman for their stress test that demonstrated stability issues on Windows when under load. These issues have been fixed for this build. Regards, Alan. From Christopher.Hegarty at Sun.COM Tue Sep 30 08:52:39 2008 From: Christopher.Hegarty at Sun.COM (Christopher Hegarty - Sun Microsystems Ireland) Date: Tue, 30 Sep 2008 16:52:39 +0100 Subject: SCTP for Java - Update In-Reply-To: <48AAEFD4.4030507@Sun.COM> References: <48AAEFD4.4030507@Sun.COM> Message-ID: <48E24B47.7040201@Sun.COM> Hi All, Back in August I posted a mail to this list [1]. It essentially was a pointer to a draft Java API for SCTP. Since then I have updated the draft [2] based on the feedback I received and also some other minor specification issues. Highlights include: - support for partial reliability extension - sending of large messages - support various other socket options, including association specific options - clean up specification around dynamic address reconfiguration, i.e. bindAddress, unbindAddress If you are interested in Java SCTP support please take a look a the updated draft. All feedback is welcome. -Chris. [1] http://mail.openjdk.java.net/pipermail/nio-discuss/2008-August/000076.html [2] http://openjdk.java.net/projects/nio/sctp/javadoc/ On 08/19/08 17:07, Christopher Hegarty - Sun Microsystems Ireland wrote: > Hi, > > A request for SCTP support came up recently on the jsr203-interest > list [1]. Within Sun have been working on an RFE [2] to provide a Java > API for SCTP [3] that we would like to get into OpenJDK [4]. > > The API is nio based and defines three new channel types in order to > support both the one-to-one and one-to-many styles. It provides support > for both multi-homing and multi-streaming capabilities of SCTP as well > as message framing, ordered and unordered message delivery. There is > also support for handling of notifications from the SCTP stack, like > associations change, shutdown, send failed. > > Initially, this work is being delivered a Sun specific API so as to > gauge interest. If there is sufficient interest then we may proposed > setting up a specific SCTP project [5]. > > At this stage we would really welcome feedback on the API [3]. Please > reply to this mailing list with your comments/feedback. > > -Chris. > > [1] > http://groups.google.com/group/jsr203-interest/browse_thread/thread/b10e6925e8b0b526 > > [2] http://bugs.sun.com/view_bug.do?bug_id=4927640 > [3] http://openjdk.java.net/projects/nio/sctp/javadoc/ > [4] http://openjdk.java.net/ > [5] http://openjdk.java.net/projects/ > > > >