473,378 Members | 1,500 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

AIX concurrent IO == Linux Asynchronous I/O

Hello,

Running DB2 on AIX.

I've read
http://www-128.ibm.com/developerwork...le/dm-0408lee/

DMS tablespaces on concurrent I/O file systems (with the AUTORESIZE YES
option, for manageability) sounds like it's exactly the thing for me.

However, I'm /truly/ annoyed by AIX. Today at a trade show, an IBM
consultant demonstrated how Linux can be run on pSeries systems LPARs,
just as fine as AIX. The thought of moving to DB2 on Linux on PowerPC is
intriguing.

But: Is it possible for DB2 to work with concurrent I/O on Linux? In some
DB2 papers, I've read about DB2 "asynchoronous I/O" on Linux; is that
equivalent to concurrent IO on AIX?

--
Regards,
Troels Arvin <tr****@arvin.dk>
http://troels.arvin.dk/
Mar 2 '07 #1
6 5909
No, asynch i/o on Linux is different from cio/dio on AIX. On both
linux and aix, direct i/o (i.e., avoiding filesystem caching) is used
/ attained by the 'no filesystem caching' clause on a tablespace
definition.

Asynchronous i/o is the ability to issue i/os and not having to
synchronously wait for the i/o to complete (hence the
name). DB2Linuxaio is the registry variable to use for that.

Troels Arvin <tr****@arvin.dkwrites:
Hello,

Running DB2 on AIX.

I've read
http://www-128.ibm.com/developerwork...le/dm-0408lee/

DMS tablespaces on concurrent I/O file systems (with the
AUTORESIZE YES option, for manageability) sounds like it's exactly
the thing for me.

However, I'm /truly/ annoyed by AIX. Today at a trade show, an IBM
consultant demonstrated how Linux can be run on pSeries systems
LPARs, just as fine as AIX. The thought of moving to DB2 on Linux
on PowerPC is intriguing.

But: Is it possible for DB2 to work with concurrent I/O on Linux?
In some DB2 papers, I've read about DB2 "asynchoronous I/O" on
Linux; is that equivalent to concurrent IO on AIX?

--
Regards,
Troels Arvin <tr****@arvin.dk>
http://troels.arvin.dk/
--
Haider
Mar 3 '07 #2
And further to this, I recall that Linux AIO is now (V9) on by default, and
the registry variable is deprecated.

Phil

Haider Rizvi wrote:
No, asynch i/o on Linux is different from cio/dio on AIX. On both
linux and aix, direct i/o (i.e., avoiding filesystem caching) is used
/ attained by the 'no filesystem caching' clause on a tablespace
definition.

Asynchronous i/o is the ability to issue i/os and not having to
synchronously wait for the i/o to complete (hence the
name). DB2Linuxaio is the registry variable to use for that.

Troels Arvin <tr****@arvin.dkwrites:
>Hello,

Running DB2 on AIX.

I've read
http://www-128.ibm.com/developerwork...le/dm-0408lee/

DMS tablespaces on concurrent I/O file systems (with the
AUTORESIZE YES option, for manageability) sounds like it's exactly
the thing for me.

However, I'm /truly/ annoyed by AIX. Today at a trade show, an IBM
consultant demonstrated how Linux can be run on pSeries systems
LPARs, just as fine as AIX. The thought of moving to DB2 on Linux
on PowerPC is intriguing.

But: Is it possible for DB2 to work with concurrent I/O on Linux?
In some DB2 papers, I've read about DB2 "asynchoronous I/O" on
Linux; is that equivalent to concurrent IO on AIX?

--
Regards,
Troels Arvin <tr****@arvin.dk>
http://troels.arvin.dk/
Mar 3 '07 #3
Hello,

On Fri, 02 Mar 2007 19:03:17 -0500, Haider Rizvi wrote:
No, asynch i/o on Linux is different from cio/dio on AIX.
OK :-(

I read http://doi.acm.org/10.1145/1146847.1146890
I seems that with DB2 for Linux, one has to accept a 5% performance hit
if tablespaces aren't stored on raw devices. - While http://
www-128.ibm.com/developerworks/db2/library/techarticle/dm-0408lee/ seems
to indicate that on AIX you can have non-raw-device-storage without
performance degration.

--
Regards,
Troels Arvin <tr****@arvin.dk>
http://troels.arvin.dk/
Mar 4 '07 #4
Hi Troels,

As always performance data is a 'it depends'. In either paper the
point is that with the direct i/o approach for various OSes the
filesystems performance is approaching that of raw devices. And the
administration of filesystems is generally considered to be easier in
a dynamic environment (I know some would disagree with even that
statement).

That's why using filesystems-based dms containers and using direct i/o
(i.e., "no filesystem caching" clause) is our best practices
recommendation at this point, see for example the BCU documentation.

Regards,
--
Haider
Troels Arvin <tr****@arvin.dkwrites:
Hello,

On Fri, 02 Mar 2007 19:03:17 -0500, Haider Rizvi wrote:
>No, asynch i/o on Linux is different from cio/dio on AIX.

OK :-(

I read http://doi.acm.org/10.1145/1146847.1146890 I seems that
with DB2 for Linux, one has to accept a 5% performance hit if
tablespaces aren't stored on raw devices. - While http://
www-128.ibm.com/developerworks/db2/library/techarticle/dm-0408lee/
seems to indicate that on AIX you can have non-raw-device-storage
without performance degration.

--
Regards,
Troels Arvin <tr****@arvin.dk>
http://troels.arvin.dk/
--
Haider
Mar 5 '07 #5
"Troels Arvin" <tr****@arvin.dkwrote in message
news:pa*********************@arvin.dk...
I read http://doi.acm.org/10.1145/1146847.1146890
I seems that with DB2 for Linux, one has to accept a 5% performance hit
if tablespaces aren't stored on raw devices. - While http://
www-128.ibm.com/developerworks/db2/library/techarticle/dm-0408lee/ seems
to indicate that on AIX you can have non-raw-device-storage without
performance degration.
It depends on a number of factors:

1. Is it a data warehouse or OLTP application? If it is a data warehouse AND
most of the queries will be doing table scans (reading the entire table) on
large tables, then raw devices provide slightly better optimization of the
table and tablespace placement for such queries. If the application is not
doing table scans on large tables, you will not notice any difference.

2. Bufferpool hit ratio. If the database has a high bufferpool hit ratio,
then there is not much synchronous I/O, and raw devices will provide very
(or no) measurable benefit.

3. The type of disk you are using. If you use a SAN or NAS and have no
control over where the containers are actually placed, then raw devices will
have little or no benefit.

Mar 5 '07 #6
The db2linuxaio registry variable should continue to be used with V9
where it is appropriate.

- Haider

Philip Nelson <te*****@scotdb.comwrites:
And further to this, I recall that Linux AIO is now (V9) on by
default, and the registry variable is deprecated.

Phil

Haider Rizvi wrote:
>No, asynch i/o on Linux is different from cio/dio on AIX. On
both linux and aix, direct i/o (i.e., avoiding filesystem
caching) is used / attained by the 'no filesystem caching'
clause on a tablespace definition.

Asynchronous i/o is the ability to issue i/os and not having to
synchronously wait for the i/o to complete (hence the
name). DB2Linuxaio is the registry variable to use for that.

Troels Arvin <tr****@arvin.dkwrites:
>>Hello,

Running DB2 on AIX.

I've read
http://www-128.ibm.com/developerwork...le/dm-0408lee/

DMS tablespaces on concurrent I/O file systems (with the
AUTORESIZE YES option, for manageability) sounds like it's
exactly the thing for me.

However, I'm /truly/ annoyed by AIX. Today at a trade show, an
IBM consultant demonstrated how Linux can be run on pSeries
systems LPARs, just as fine as AIX. The thought of moving to
DB2 on Linux on PowerPC is intriguing.

But: Is it possible for DB2 to work with concurrent I/O on
Linux? In some DB2 papers, I've read about DB2 "asynchoronous
I/O" on Linux; is that equivalent to concurrent IO on AIX?

-- Regards, Troels Arvin <tr****@arvin.dk>
http://troels.arvin.dk/
--
Haider
Mar 5 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pierre Quentel | last post by:
Sorry if the question seems naive, but is there a risk of concurrent accesses to a database if it is accessed only by scripts called by requests to an asynchronous server ? I have the same...
1
by: mairhtin o'feannag | last post by:
Hello, After reading the fine article on the Stinger enhancements for Linux, I have two questions. First, our application is in essence a warehouse, with 100-400 million rows for various...
9
by: stephen | last post by:
Hello, I am using ASP.NET as a streaming engine for mp3 and ogg files over HTTP. Basically, the asp.net page sets it's mime content type to audio/mp3 and i write out the file to the stream. We will...
3
by: Animesh | last post by:
Hi All, I have a lexical analyzer in flex/bison associated with a lot of custom C function calls linking to external programs which uses quite a lot of global variables and data structures. The...
4
by: Paul | last post by:
I have an ASP.NET application that I want to limit # of concurrent logins. Has anyone done similar things before? I was trying to increment a counter in the application and decrement the counter in...
6
by: roblugt | last post by:
I have what I imagine is a well-known .Net networking problem, but even though I've Googled for some time I've not yet come across a thread where this has been fully explained... There is a...
3
by: db2_d_b_a | last post by:
Hello All, Has any one used either one of the below mentioned registry variables in any of the environments. Were there any performance issues related with this. Any inputs regarding these...
10
by: Frankie | last post by:
It appears that System.Random would provide an acceptable means through which to generate a unique value used to identify multiple/concurrent asynchronous tasks. The usage of the value under...
0
by: Gerardo Herzig | last post by:
Hi all. Im having some "problems" with a small concurrent plpython function. Based on a small example about concurrent programming, there is some code which works fine under python: #!...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.