From owner-freebsd-questions@freebsd.org Tue Apr 10 20:25:39 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1C17F9696D for ; Tue, 10 Apr 2018 20:25:38 +0000 (UTC) (envelope-from chode128@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (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 75C3274078 for ; Tue, 10 Apr 2018 20:25:38 +0000 (UTC) (envelope-from chode128@gmail.com) Received: by mail-io0-x244.google.com with SMTP id o4so15190773iod.3 for ; Tue, 10 Apr 2018 13:25:38 -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=7srWG736NlCA+FlZDUKYtBkAPJDZb8W8221AP/qsp3o=; b=NDR88uZQ6mtjWV8s5lRr0VUvVaC5xQwsHDJxc7tQA0jFfda/1CQv8BzSha+nhtSSwz ctteMX7ZIQmU+rpxrpfkESDHbUERWFivlCXSeNGZkatyQ+G3zzKLpsMdgvjmyNA7p/B0 gs2vKASCmGDHCnBLAvRef6WTiKJViKV/f5sIG3vHRjshCctOGbyoMifC4LwnXzEiSdxR sL+11t+GZHSiegS3K89WOT7cGBT0/FGkurpAk5yZyrwVM5/mhbOvaj8AC5H19OcGYbjL rUqYSFUZP3VN1U114DQF92p4+RsvnlAth79UGZDvAq3la+IgaP0aYBW/uWsMcwDnU5s1 O0Og== 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=7srWG736NlCA+FlZDUKYtBkAPJDZb8W8221AP/qsp3o=; b=lhmBE/HynheWBW8F3Tn3t6ByTQacjpMypKs4nrOrCvxRspHZgP4HSC7EMRZFMrW0sW /FODbXxg6gPR8FXtBqPlzpD/5lT41Eko9Eb8byFfJ/gtCQLpix3uCZEcZDBS5LdKejWZ 4pxgGniu9I+qEpP5g1PxiM+Oj4PG6/dS6+AkvUj3KHvQPYUsBem4R3aOj3mQNcI4+XCh 1EVHxPv7unWKxI3hBwHeUlEZh2LTep6O2X5ryjBdHIe5NjTdQ02iqx4y3wvTzcRD8/r0 EL2AspvQHQItY7r7PVoDAEjLeHh9tQpU+ohhf8HSQoNAlf3LBQkjzFZz7CGJEsOXBgtN SfsA== X-Gm-Message-State: ALQs6tDKx6sQZIFVW8Vl8+c1bVRkNbeAiuBWKhcKKkS4+6kMH1iS9HIL I47S7rleZ8A9Zwy/19otGaZxZYd5drtDuSVcFA== X-Google-Smtp-Source: AIpwx4/3bcKjCmg6QfSuFQQDYJEDKRZ9cldRCm7ycS573wbbjkpEgAwku4++kzB2aHlB1LgQeCdVPaU4KHjEGIbwcjU= X-Received: by 10.107.132.97 with SMTP id g94mr2060843iod.46.1523391937966; Tue, 10 Apr 2018 13:25:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.83.200 with HTTP; Tue, 10 Apr 2018 13:25:37 -0700 (PDT) In-Reply-To: References: From: Francis Bacon Date: Tue, 10 Apr 2018 14:25:37 -0600 Message-ID: Subject: Re: sshd virtual memory usage on different hardware To: Daniel Feenberg Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2018 20:25:39 -0000 > >> Looking at the virtual memory of the sshd processes it appears different >> linked libraries are using more virtual memory different hardware. >> The biggest offender is /usr/lib/libgssapi_spnego.so.10. Below are the >> virtual memory usages, and it appears it uses 2235, 9925, and 20295. >> > > The figure under "RES" is resident memory, not virtual memory. How much of > the library was resident would depend on how much real memory was > available, how much competition for memory there was, and might depend on > what other processes were using that library. > Why the amount of real memory would change how much memory a library would have resident? In my examples, Machine1 had 8G, Machine2 32G, and Machine3 64G. Thanks!