Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  IBM's asynch I/O  (Read 1122 times)
0 Members and 1 Guest are viewing this topic.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Posted 2004-06-19 17:17:34 »

Just launched on alphaworks yesterday...

http://www.alphaworks.ibm.com/tech/aio4j

Is anyone here an IBM customer? (I know we have some corporate employees around here - just thought you might be able to find out something about it, since AW doesn't have any info yet beyond the download)

malloc will be first against the wall when the revolution comes...
Offline aNt

Senior Member




AFK


« Reply #1 - Posted 2004-06-23 10:34:56 »

looks very intresting- but no MacOSX version Sad shame. I will take a look at it and see how well it runs on my Windows Server here. u never no maybe cooler then NIO Smiley
Offline vrm

Junior Member




where I should sign ?


« Reply #2 - Posted 2004-06-23 11:40:44 »

more info there on TSS
http://theserverside.com/news/thread.tss?thread_id=26732
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #3 - Posted 2004-06-23 20:43:13 »

Conclusion: despite the hype, the only major benefits appear two-fold:

1. allows you to use different programming patterns (if you don't like multiplexing and events, for instance)

2. if your OS is crap and has really crappy primitives for multiplexed event/edge IO, it might actually have really hot asynch IO instead, and this lets you take advantage of that.

EDIT: I'm not trying to put AIO down, but I'm not comfortable with IBM's effusive claims that it's inherently "better" than edge-driven multiplexing; they're just as good as each other IME...

...and a possible 3, but I'll wait to see how it performs "in the field"...

3. Sun's NIO is pretty crap at taking advantage of direct buffers and other things that theoretically would improve performance by going direct from device to device (avoiding the bottlenecks of e.g. moving through the CPU / JVM memory first). In most cases, their "direct I/O" seems no faster than doing it manually (which should, in theory, be significantly slower). And there's not enough of their direct stuff going on. IBM seems to be implying that their wrapping of OS asynch IO is more efficient / more effective at taking advantage of these things. If so, it could provide a noticeable performance boost.

FYI I haven't done any *extensive* x-platform NIO performance testing. I've done quite a lot, but not enough to draw many conclusions. Sun have been fixing major NIO bugs every JDK release including the upcoming 1.5, so I've been adopting the "wait and see" approach. My experience of IBM is that they seem to be a bit more of the "get it right first time, about as well as we'll ever get it", so maybe this is worth delving into deeply.

PS healthy warning to anyone who's not used to AW: beware of licensing restrictions! Read them carefully; it's a different kettle of fish compared to a Sun JDK technology...

malloc will be first against the wall when the revolution comes...
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (26 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (34 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!