[openbeos] Re: Question about Jobs(Command Line)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 16 Sep 2002 03:07:35 CEST (+0200)

Alexander wrote:
>> [max. cache size]
> It's part of the file system info.  Recommended transfer size.  I 
> think
> the current 64K limit in BFS is too small, so I'm using 256K in my
> file system (the file system defines it).  Various commands, like 
> "cp"
> use it to set their buffer size.

I don't think those are the same values; AFAIK the cache always uses 
64k as maximum, or the maximum given in the kernel settings.

> > Anyway, I think of having an additional open mode to have uncached 
> > file 
> > access - it's already there for BSD, so we could just copy their 
> > flag 
> > (O_DIRECT or O_NOCACHE).
> > It's already part of fcntl.h in the repository, and maybe we will 
> > implement it already in R1.
> Yet another nice thing about OpenBeOS being open source; we can
> implement whatever we want!  Now all we need is a good VM and file
> system cache combination...

Hehe, sure :-)

Adios...
   Axel.



Other related posts: