Re: O_DIRECT please; Sybase 12.5

2001-07-05 Thread Andrew Morton
Andrea Arcangeli wrote: > > On Fri, Jul 06, 2001 at 12:28:15AM +1000, Andrew Morton wrote: > > ext3 journals data. That's unique and it breaks things (or rather, > > things break it). It'd be trivial to support O_DIRECT in ext3's > > writeback mode (metadata-only), but nobody uses that. > > I

Re: O_DIRECT please; Sybase 12.5

2001-07-05 Thread Andrea Arcangeli
On Fri, Jul 06, 2001 at 12:28:15AM +1000, Andrew Morton wrote: > ext3 journals data. That's unique and it breaks things (or rather, > things break it). It'd be trivial to support O_DIRECT in ext3's > writeback mode (metadata-only), but nobody uses that. I thought everybody uses metadata-only t

Re: O_DIRECT please; Sybase 12.5

2001-07-05 Thread Andrew Morton
Andrea Arcangeli wrote: > > Andrew Morton took care of ext3 O_DIRECT support (included into the ext3 > patch and conditional to #ifdef KERNEL_HAS_O_DIRECT that he asked me to > add to the latest o_direct patches). (you know O_DIRECT is 99% common > code, so supporting new fs is almost a no braine

Re: O_DIRECT please; Sybase 12.5

2001-07-05 Thread Andrea Arcangeli
On Fri, Jun 29, 2001 at 10:50:15AM +0100, Alan Cox wrote: > > the boss say "If Linux makes Sybase go through the page cache on > > reads, maybe we'll just have to switch to Solaris. That's > > a serious performance problem." > > Thats something you'd have to benchmark. It depends on a very large

Re: O_DIRECT please; Sybase 12.5

2001-07-05 Thread Andrea Arcangeli
On Fri, Jun 29, 2001 at 02:39:00AM -0700, Dan Kegel wrote: > At work I had to sit through a meeting where I heard > the boss say "If Linux makes Sybase go through the page cache on > reads, maybe we'll just have to switch to Solaris. That's > a serious performance problem." > All I could say was

Re: O_DIRECT please; Sybase 12.5

2001-07-03 Thread Stephen C. Tweedie
Hi, On Tue, Jul 03, 2001 at 08:10:39AM -0700, Daryll Strauss wrote: > I recall hearing about a problem with the md device and raw IO. It was > something about the block sizes not matching causing performance > problems. Has anything been done to improve those issues? The problem is a combinatio

Re: O_DIRECT please; Sybase 12.5

2001-07-03 Thread Daryll Strauss
On Tue, Jul 03, 2001 at 10:42:53AM +0100, Stephen C. Tweedie wrote: > On Fri, Jun 29, 2001 at 02:39:00AM -0700, Dan Kegel wrote: > > > It supports raw partitions, which is good; that might satisfy my > > boss (although the administration will be a pain, and I'm not > > sure whether it's really su

Re: O_DIRECT please; Sybase 12.5

2001-07-03 Thread Stephen C. Tweedie
Hi, On Fri, Jun 29, 2001 at 02:39:00AM -0700, Dan Kegel wrote: > It supports raw partitions, which is good; that might satisfy my > boss (although the administration will be a pain, and I'm not > sure whether it's really supported by Dell RAID devices). All block devices support raw IO --- the

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Steve Lord
XFS supports O_DIRECT on linux, has done for a while. Steve > At work I had to sit through a meeting where I heard > the boss say "If Linux makes Sybase go through the page cache on > reads, maybe we'll just have to switch to Solaris. That's > a serious performance problem." > All I could say

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Mike Harrold
> > Alan Cox wrote: > > > > > the boss say "If Linux makes Sybase go through the page cache on > > > reads, maybe we'll just have to switch to Solaris. That's > > > a serious performance problem." > > > > Thats something you'd have to benchmark. It depends on a very large number > > of factors

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Andi Kleen
Dan Kegel <[EMAIL PROTECTED]> writes: > > And what are the chances Sybase will support that flag any time > soon? I just read on news://forums.sybase.com/sybase.public.ase.linux When Sybase always submits its buffers block aligned (same requirement as for raw io) you can do it with a simple LD_

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Dan Kegel
Alan Cox wrote: > > > the boss say "If Linux makes Sybase go through the page cache on > > reads, maybe we'll just have to switch to Solaris. That's > > a serious performance problem." > > Thats something you'd have to benchmark. It depends on a very large number > of factors including whether

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Alan Cox
> the boss say "If Linux makes Sybase go through the page cache on > reads, maybe we'll just have to switch to Solaris. That's > a serious performance problem." Thats something you'd have to benchmark. It depends on a very large number of factors including whether the database uses mmap, the ave

O_DIRECT please; Sybase 12.5

2001-06-29 Thread Dan Kegel
At work I had to sit through a meeting where I heard the boss say "If Linux makes Sybase go through the page cache on reads, maybe we'll just have to switch to Solaris. That's a serious performance problem." All I could say was "I expect Linux will support O_DIRECT soon, and Sybase will support t