Re: disk i/o problems

2001-03-27 Thread Ben Collins-Sussman
Jeff Trawick <[EMAIL PROTECTED]> writes: > On apr_file_open(), specify APR_BUFFERED. This causes the file I/O > support to act like the C Standard Library stdio routines, in that it > will minimize system calls. > > On the first read it grabs a bunch of data in one syscall, continues > to servi

Re: disk i/o problems

2001-03-27 Thread Jeff Trawick
Ben Collins-Sussman <[EMAIL PROTECTED]> writes: > Jeff Trawick <[EMAIL PROTECTED]> writes: > > > Ben Collins-Sussman <[EMAIL PROTECTED]> writes: > > > > > Hi all -- I'm getting some weird disk slowdowns on FreeBSD 4.2. > > > > Did you by chance look at an strace/truss of your APR app on Linux a

Re: disk i/o problems

2001-03-27 Thread Ben Collins-Sussman
Jeff Trawick <[EMAIL PROTECTED]> writes: > Ben Collins-Sussman <[EMAIL PROTECTED]> writes: > > > Hi all -- I'm getting some weird disk slowdowns on FreeBSD 4.2. > > Did you by chance look at an strace/truss of your APR app on Linux and > FreeBSD to see what APR is doing on your file? I used 'tr

Re: disk i/o problems

2001-03-21 Thread Jeff Trawick
Ben Collins-Sussman <[EMAIL PROTECTED]> writes: > Hi all -- I'm getting some weird disk slowdowns on FreeBSD 4.2. Did you by chance look at an strace/truss of your APR app on Linux and FreeBSD to see what APR is doing on your file? Are you using buffered APR file support? > I think we need to i

disk i/o problems

2001-03-20 Thread Ben Collins-Sussman
Hi all -- I'm getting some weird disk slowdowns on FreeBSD 4.2. Subversion checkouts from a local repository are normally near-instantaneous on normal Linux machines. But on *all three* of my FreeBSD 4.2 boxes, each checked-out takes about 1 second (or more). This didn't used to be the case. I