From owner-freebsd-drivers@freebsd.org Tue Feb 9 04:39:53 2016 Return-Path: Delivered-To: freebsd-drivers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E201FAA164A for ; Tue, 9 Feb 2016 04:39:52 +0000 (UTC) (envelope-from dvrao.584@gmail.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5AECAE0 for ; Tue, 9 Feb 2016 04:39:52 +0000 (UTC) (envelope-from dvrao.584@gmail.com) Received: by mail-ob0-x22f.google.com with SMTP id wb13so178562139obb.1 for ; Mon, 08 Feb 2016 20:39:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=41tdutElp0LPF9XTTRWnqVzniNmN6Kc3ldiLDNY9RUA=; b=HEJLo6tIcm+y6YytyQ0MlYnullW1d7KL1kCl6rBKvy/DfpHzr1HinmVr5FzJ+/Vi7b LR31UgTkuWpeYAgvDZ+aP+BdrF914kMJObBf9fg1pWdWiDfsE7br7HSQQGvkTBmma69F BTnbXAgjvT02esHvOy/UCKjk3R2kDuLEu1AdGUBwZ4ErFy+NmtbJmjqWyakiYHUZ66nG /f/PDNftPV1IfjFNxFID4Xru1Daipl0eqpdVv3eSvcie6nyvfSADpSykD/69sM+9CgNM pytMfLf+2zyMa4Pw1idtniASwhEkhfO6A2uACKEUZGbv0XpsgR2ezB8yRgufmNyhGtKe druA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=41tdutElp0LPF9XTTRWnqVzniNmN6Kc3ldiLDNY9RUA=; b=dAEHH5PdQUdJvhszBsoGXw8U68lAkLcP5HtONHIKCx6cyC+GBeByVwHv3LZdYxouR6 ErRmkbjlzgsIV4FuldeflyCuXkSFnrDbMxbkOBZEZ2+DC+JOJDq1UQ8rXCtnl88HfPdj j7zpM141kIwK0/qriOYougqCOtOHKpnIvQfJMmp7jr4dsHI4XqIChAvyrwSqV+DrLImL aoHV/2j/ULcaimxlAjJTnS2bjzCIij9DYYVo/DZN4nk7Hz/2g83fgdPfsCSq9OGIXrw5 5cnkXw3b5FPtDcjJdjtjX9r+I1HXHL5KHzQaZeLfwMTHyE8dqZg/AtqsXbfLHmj45kUG 6Evg== X-Gm-Message-State: AG10YOQbNjidJGs+eF5+YHfOGjJ4dURxfHMzZC7UYLsn6TABUhh3fvb9VDGqKRmx51/d5KZdhlAzgRm3UdeK9w== MIME-Version: 1.0 X-Received: by 10.60.46.102 with SMTP id u6mr29568567oem.78.1454992791863; Mon, 08 Feb 2016 20:39:51 -0800 (PST) Received: by 10.60.96.3 with HTTP; Mon, 8 Feb 2016 20:39:51 -0800 (PST) Date: Tue, 9 Feb 2016 10:09:51 +0530 Message-ID: Subject: SCP issue on FreeBSD From: Venkateswara Rao Dokku To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 04:39:53 -0000 Hi, I am using FreeBSD 8.4 as guest on top of the linux (ubuntu 14.10) host. I observed that, the Pushing a file from FreeBSD is giving good performance over Puling a file from other linux box to FreeBSD. root@test:~ # *scp ns-10.5-57.7.gz root@10.102.38.202:/root* root@10.102.38.202's password: ns-10.5-57.7.gz 100% 126MB *63.0MB/s* 00:02 root@test:~ #* scp root@10.102.38.202:/root/ns-10.5-57.7.gz* . root@10.102.38.202's password: ns-10.5-57.7.gz 100% 126MB *11.5MB/s* 00:11 Why there is a difference between these two?. Any tuning needs to be done on the FreeBSD guest to get these two almost same? To see, whether its specific to FreeBSD I did the same experiment with Linux(Ubuntu 14.10) as guest on top of Linux(same host as above). Here the output is almost same. root@ubuntu:~# *scp root@10.102.38.202:/root/ns-11.1-14.4.gz .* root@10.102.38.202's password: ns-11.1-14.4.gz 100% 130MB *64.8MB/s* 00:02 root@ubuntu:~# *scp ns-11.1-14.4.gz root@10.102.38.202:/roo*t root@10.102.38.202's password: ns-11.1-14.4.gz 100% 130MB *64.8MB/s* 00:02 Moreover, in most cases Linux performance is better than FreeBSD. Is Ubuntu gives good performance when compared to FreeBSD? Any help is much appreciated. Thanks. -- Thanks & Regards, Venkateswara Rao Dokku.