From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] u9fs From: forsyth@caldo.demon.co.uk MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-fmqcimlkqihqnxesuagdfuixfg" Message-Id: <20020319164238.31D4719A29@mail.cse.psu.edu> Date: Tue, 19 Mar 2002 16:39:40 +0000 Topicbox-Message-UUID: 6a0594ba-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-fmqcimlkqihqnxesuagdfuixfg Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit it's quite likely slower than need be because of the wretched TCP_NODELAY (or whatever it is on your system) not being set by default. set it on so as not to delay and it's typically much faster. term% diff /sys/src/cmd/unix/u9fs/u9fs.c . 33a34 > # include 1247a1249 > #ifdef SO_KEEPALIVE 1248a1251,1254 > #endif > #ifdef TCP_NODELAY > setsockopt(0, IPPROTO_TCP, TCP_NODELAY, (char*)&on, sizeof(on)); > #endif i also ifdef'd SO_KEEPALIVE because some systems haven't got it. i changed the old (2nd edition) version of u9fs to emulate file server permissions and permission checking more precisely, which is to say that it must have been missing something, but i haven't had the need for that this time. you might find you need to adjust it though. i haven't got that source or i'd hand it on. --upas-fmqcimlkqihqnxesuagdfuixfg Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-1.mail.demon.net by mailstore for forsyth@caldo.demon.co.uk id 1016554726:10:09722:44; Tue, 19 Mar 2002 16:18:46 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-1.mail.demon.net id aa1105014; 19 Mar 2002 16:18 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 252F919A63; Tue, 19 Mar 2002 11:18:04 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from honk.eecs.harvard.edu (honk.eecs.harvard.edu [140.247.60.101]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id AE7BC19A64 for <9fans@cse.psu.edu>; Tue, 19 Mar 2002 11:17:12 -0500 (EST) Received: by honk.eecs.harvard.edu (Postfix, from userid 1000) id 3826D3C109; Tue, 19 Mar 2002 11:15:48 -0500 (EST) Date: Tue, 19 Mar 2002 11:15:48 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] u9fs Message-ID: <20020319111548.A54414@honk.eecs.harvard.edu> References: <20020319140518.F2DC219A59@mail.cse.psu.edu> <000c01c1cf60$34683860$4bf0b487@dnrc.belllabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000c01c1cf60$34683860$4bf0b487@dnrc.belllabs.com>; from dharani@lucent.com on Tue, Mar 19, 2002 at 11:07:44AM -0500 X-No-archive: yes Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: On Tue, Mar 19, 2002 at 11:07:44AM -0500, Dharani Vilwanathan wrote: > Can I safely assume that if I run u9fs on a linux box, it is as good as a > plan 9 file server with which Plan 9 terminals can be connected? No, it is substantially slower in my experience. It serves a different purpose, namely accessing Unix boxes. That said, I have used it as a replacement in a pinch. --upas-fmqcimlkqihqnxesuagdfuixfg--