From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 24 08:18:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F8C716A4CE; Sat, 24 Apr 2004 08:18:39 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E75E43D31; Sat, 24 Apr 2004 08:18:39 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 10D9C5C802; Sat, 24 Apr 2004 08:18:39 -0700 (PDT) Date: Sat, 24 Apr 2004 08:18:39 -0700 From: Alfred Perlstein To: Alexey Dokuchaev Message-ID: <20040424151839.GB78817@elvis.mu.org> References: <200404231627.i3NGRcVA096244@repoman.freebsd.org> <20040424085913.GA78817@elvis.mu.org> <20040424101446.GA12719@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040424101446.GA12719@regency.nsu.ru> User-Agent: Mutt/1.4.2.1i cc: hackers@freebsd.org cc: Tim Kientzle cc: Julian Elischer Subject: Re: bad news for bsdtar.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 15:18:39 -0000 * Alexey Dokuchaev [040424 03:14] wrote: > On Sat, Apr 24, 2004 at 01:59:13AM -0700, Alfred Perlstein wrote: > > > > Have you guys thought of using aio or at least another process > > to parallelize IO? (One to read files, and one to write out the > > archive) > > > > Actually with our kernel threads in 5 you could just use those > > to speed IO. > > IMHO, still non-blocking/async IO would be faster, and more probably portable, > unless I'm utterly wrong, of course. 8-) Threads are pretty portable these days, obviously making it a compile time option could work, but then again performance would be nice and it is _our_ tar. ;) Also, unless you mean 'aio' or 'another process' by "non-blocking/async IO" then I'm pretty sure you are wrong, as there is no other way to do this, disk based files do not really support SIGIO (async IO) or non-blocking IO (NBIO). -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684