Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A698D200CF8 for ; Thu, 14 Sep 2017 22:10:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A60551609CD; Thu, 14 Sep 2017 20:10:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EC70F1609C6 for ; Thu, 14 Sep 2017 22:10:48 +0200 (CEST) Received: (qmail 68721 invoked by uid 500); 14 Sep 2017 20:10:46 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 68711 invoked by uid 99); 14 Sep 2017 20:10:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2017 20:10:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9338A1A17D8 for ; Thu, 14 Sep 2017 20:10:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.599 X-Spam-Level: * X-Spam-Status: No, score=1.599 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLACK=4] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id pMKT0pBh6CKQ for ; Thu, 14 Sep 2017 20:10:43 +0000 (UTC) Received: from mail-ua0-f171.google.com (mail-ua0-f171.google.com [209.85.217.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 5BD495FCF4 for ; Thu, 14 Sep 2017 20:10:43 +0000 (UTC) Received: by mail-ua0-f171.google.com with SMTP id q29so242106uaf.3 for ; Thu, 14 Sep 2017 13:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4436Uw9hKXqI3bmYoajeGgSvZbTc+VVq8uLiQxtms9o=; b=hjV5S9tRGGSZ2xDkDMksUyvalRYONb3HqZkTZwc7Re8h5pLqysI7Nwe5JhCTi4mUWz 5KMU1APVKo0FNXec0JML4x2NROddreY1+dCY79bkzovlU9nhXB879VwbqI/t/zMZQIvn FyOvd3mCsabiqFCSlWoJzN0oQk4tdL+ihsYdpEE1snP0FwWPFZI3llJiKXPin86AijQ3 6sIVzkZROhlRMMbbcwUHr7fHBEw0j4+C/328tVsHyP22KvqTQbqKneeqpRDzwqkmMiHk LON6VNWh9L2CcjgHmqctTqAZ3vNDtibdr4YgcF6ZWzCCSpNlvaZ4dBIoreTDefUpWsmQ gTrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4436Uw9hKXqI3bmYoajeGgSvZbTc+VVq8uLiQxtms9o=; b=iGYl/w5Zip+9oTkd8y5LFQSBpoybGir+MqoOF9JNp8eoZ/rkO8ps4OUW7/EMC15Cgr 94M9mxpG+QDoi73JMDvYvUv5A2D3xZTErVHfV+7wqPzAO7C2NsqEpcpGsb2jpGLk4nCE 4A4miwzPdbcVI5KUJCj7mSeobT2Apku+eQJcNg7SbnL82qFjEMSOzcNVn4dhTWYX4f5D kQV3n60Lga+W35j7Het0tkHz1C0pHOiuIf8RWHNyC0aZ4cHCu63dF1O5WVYsO/SWrlW7 VjtdxFOMZMcDAcz+Cz+MKN+G0wzMh5/NxX3ntlXT1a6bZwe0k69+oLWLhlYp4dsVfI8g IehQ== X-Gm-Message-State: AHPjjUiRe5AhJWNYiEVEVd73yA4G4HbnlTSKRPhSY5ITbHfTQgMixiIf npd5XXLjY6obvCWewVC3pPHUftXnzSXyFp1jnys= X-Google-Smtp-Source: ADKCNb50ZCAkY9JeMB80N8iuwfQkgZNP3QF3xObsdL2s3gcjuebe9473UTd6uR9Zaw34VzoODCrMAynWfIVy8yv4sUE= X-Received: by 10.159.51.236 with SMTP id y44mr17571358uab.2.1505419837346; Thu, 14 Sep 2017 13:10:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.80.140 with HTTP; Thu, 14 Sep 2017 13:10:16 -0700 (PDT) In-Reply-To: References: <1B1E129E-7BA7-438D-B38F-90C0E4A47933@ietcombustion.com> From: Johan Corveleyn Date: Thu, 14 Sep 2017 22:10:16 +0200 Message-ID: Subject: Re: Subversion svn+ssh, sshd 100% CPU To: Matt Simmons Cc: Zoran Petkovic , "users@subversion.apache.org" Content-Type: text/plain; charset="UTF-8" archived-at: Thu, 14 Sep 2017 20:10:49 -0000 On Wed, Sep 13, 2017 at 7:20 AM, Matt Simmons wrote: > On Tue, Sep 12, 2017 at 12:14 PM Zoran Petkovic > wrote: >> >> In the past few days I have been doing extensive testing of Subversion >> with different clients, operating systems, client and server versions and >> have noticed very strange behaviour with windows clients connecting to Linux >> servers, hitting them with excessive CPU usage on the sshd process, where >> the Linux clients do not exhibit this behaviour. >> >> >> >> A sample test setup is as follows: >> >> Server Linux Ubuntu 16.04.3 LTS, OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL >> 1.0.2g 1 Mar 2016, Subversion version 1.9.3 (and 1.9.7). >> >> Client TortoiseSVN 1.9.7 >> >> >> >> When checking out large repositories the linux server is hit on the sshd >> process, the process running with 100% cpu usage. This in effect slows down >> the performance and ultimately the speed at which the checkout runs. Linux >> clients connecting to the same server do not cause this load on the server. >> >> >> >> This happens even when compressions is turned off and when encryption >> Cyphers are changed, as well as different versions of subversion. The >> behaviour is identical. I'm not sure who to address for this issue as this >> not only happens with TortoiseSVN but with SlikSVN as well. Any direction >> would be appreciated. > > Why does iostat show? Could it be that your underlying disk is io-saturated > and your CPU spike is due to iowait? One possible explanation would be that the windows clients perform the checkout faster than the linux clients for some reason, thus being able to put higher load on the server, saturating its cpu or disk I/O. Other than that I have no idea. The Linux client you're testing is also 1.9.7? Perhaps the windows client and the linux client are performing the checkout in a different way for some reason (I'm thinking of the so-called "skelta mode" vs. "bulk mode", see http://subversion.apache.org/docs/release-notes/1.8.html#serf-skelta-default). -- Johan