From owner-freebsd-questions@FreeBSD.ORG Mon Apr 14 16:32:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5C411065670 for ; Mon, 14 Apr 2008 16:32:02 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id B73D48FC0C for ; Mon, 14 Apr 2008 16:32:02 +0000 (UTC) (envelope-from smallhand@crawblog.com) Received: by rv-out-0506.google.com with SMTP id b25so764095rvf.43 for ; Mon, 14 Apr 2008 09:32:02 -0700 (PDT) Received: by 10.140.172.19 with SMTP id u19mr3552172rve.133.1208190722163; Mon, 14 Apr 2008 09:32:02 -0700 (PDT) Received: by 10.141.190.19 with HTTP; Mon, 14 Apr 2008 09:32:02 -0700 (PDT) Message-ID: <919383240804140932j550881d9h2ebbe3ca96ccc656@mail.gmail.com> Date: Mon, 14 Apr 2008 12:32:02 -0400 From: "Edward Ruggeri" To: "Kris Kennaway" In-Reply-To: <48035C26.3050105@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <919383240804140555r6ea4d5arde9567495e64dab4@mail.gmail.com> <48035C26.3050105@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: Slow performance as root over SSH? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 16:32:02 -0000 On Mon, Apr 14, 2008 at 9:29 AM, Kris Kennaway wrote: > > Edward Ruggeri wrote: > > Recently, I figured to do this with portupgrade. Now, I don't allow > > root login, so I log in as a user in the wheel group and use su. Now, > > as root, I run: dtach -A portupgrade -a. It starts working, but > > extremely slowly. For instance, "portsnap fetch update" takes several > > minutes, whereas it normally is blazing fast when performed locally. > > I can still detach, exit root, and close the SSH tunnel. I suppose > > this is probably a dtach performance issue? > > > > Likely unrelated to either. There is nothing that would make root perform > any differently than other users, and dtach only affects the terminal > handling and not any other aspect of the system. > > Kris > Thanks Kris! Well, that's what I would have expected. But then what explains the difference in performance? The only other difference I can imagine is that I am logging in with a wheel account and using su, rather than logging in as root. Being something of a novice still, could that be the issue? Sincerely, -- Ned Ruggeri