Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Direct IO
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Clebert Suconic  
View profile  
 More options Mar 19 2008, 10:13 am
From: "Clebert Suconic" <clebert.suco...@gmail.com>
Date: Wed, 19 Mar 2008 09:13:35 -0500
Local: Wed, Mar 19 2008 10:13 am
Subject: Re: [jsr203-interest] Re: Direct IO
Thanks Adam...

My comments bellow:

>As I'm sure you agree, direct I/O and bypassing the file system cache

is an advanced topic that a database might use but not the average
developer.

Well.. It is today... but I was hoping it would make it easier for
developers, as you may find better apis.
And I also think that a regular developer would have an indirect
benefit of this. say... if using a higher level API making advantage
of AIO. (JMS, Mina. or any other layer in top of NIO2).

>The last time I checked, Linux's kernel AIO was limited to raw devices

or files opened for direct I/O.

Yes.. but shouldn't the AsynchronousFileChannel making use of it?

>As you mention alignment I'm curious if you make any assumptions on

the alignment of direct buffers? Just asking because they have been
page aligned since 1.4 but we need to re-visit that for big
applications that enable large pages.

I assumed the newDirectBuffer would call a regular malloc method
underneath, as I needed an aligned buffer. Maybe my assumption was
wrong. I will revisit this. (Maybe I should have read the code :-) )


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.