From owner-soc-status@freebsd.org Mon Jun 24 20:45:52 2019 Return-Path: Delivered-To: soc-status@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 3C40915D9334 for ; Mon, 24 Jun 2019 20:45:52 +0000 (UTC) (envelope-from pkaipila@gmail.com) Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCC118831E for ; Mon, 24 Jun 2019 20:45:50 +0000 (UTC) (envelope-from pkaipila@gmail.com) Received: by mail-io1-xd44.google.com with SMTP id n5so5183855ioc.7 for ; Mon, 24 Jun 2019 13:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2ZJNeDYjwYjLv0uHFeCSpzOjYvOxttG0FkIPPF7YYFU=; b=bQuGzxX/xsLmQSXKZn5DLqFBoZnmbM4oX+hEctwVynorn6YVi7Nl/eB+3YikMuaHxz yOD3BHAze0XILpQZaLD/2koh42n4ZlS8XOXLcxxehRhEyEJkQhhRIa6tSGXHvnKAXtpt 4jmO3wN5+ay+DT5YjCRcgjK587UyT/ShSHml7PXL3WJeCbSNHBreLcEPufqMQhPNLuY7 sWeMd8Nc9Xy/d2bed1UGPp5y1fME+1YG2rHbJQecsQeUwhHTm7YNOlpXV9GsaBzxldu9 b+cpoekXw5y8UrLKq++NN52+bCUjapzzA8nZYiHE+aC1nLBPGJhm9N8aGQUkSAsqLAnH BeSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2ZJNeDYjwYjLv0uHFeCSpzOjYvOxttG0FkIPPF7YYFU=; b=GoSKkLbGu/4kbVzZ/NeuDd5nULXYTjl9bhnCgWf7djgbmDsltYdsxz8tKoqXdy7586 jvfj6WTEyJyRcU828PTlrqgySWM0noI+qQhfN2nn9TpZnNa1/As9o6rdQLGXqt5TYa9f QCaH5OvLOiTdkN9MRIDUPkNTF1sLMBa0C8aKQEiwcSQCTTfU63XsyHeogPByQ57svFES R2X50I/IG9xvSXJX/UlzfvzeGbRnUxWCLKIU/AnTMmQIxjQH0asBGfk+quisXHB1g3uc ftJxSRJ2dC/VdCg++Y4gx9L55+WAjO5IDLsb6VckLdIkwTi8/P6sFqA23VTnQxUC1eV4 EnVA== X-Gm-Message-State: APjAAAWmRobfzMgIWFa9+RWgP5Im5jgdI/DQoKJcp21lSHZRpBZaSbMe H77nHfsFSm2GYZlBS6cx9S2QYtAUcoSdJaGE9MxdkPWvNdk= X-Google-Smtp-Source: APXvYqxZai5tWlrgvUAmI5GN54cSvGBbd7ZyYLQLYFJ+lOhj9CwBWCSDZo4ByAQe5IsndCD8smRhVjVKOCuZFPhxUNI= X-Received: by 2002:a6b:7f06:: with SMTP id l6mr764013ioq.53.1561409149969; Mon, 24 Jun 2019 13:45:49 -0700 (PDT) MIME-Version: 1.0 From: Paavo-Einari Kaipila Date: Mon, 24 Jun 2019 23:45:19 +0300 Message-ID: Subject: [Virtual memory compression] status update To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: DCC118831E X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bQuGzxX/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pkaipila@gmail.com designates 2607:f8b0:4864:20::d44 as permitted sender) smtp.mailfrom=pkaipila@gmail.com X-Spamd-Result: default: False [-4.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[4.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.81)[ip: (1.47), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.33), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 20:45:52 -0000 Hey Sorry everyone, I've been a bit shy because there hasn't been much to showcase until now. But anyway, I'm on schedule and the disk even works now! The repo resides here and the commit 4f6ac56fd5fc4ffb4f8a36669579ae83e89d0103 is "guaranteed" to work. https://github.com/pavetheway91/freebsd You may create a compressed memory disk with mdconfig: mdconfig -t compressed -s 10m Zlib is the only supported algorithm at the moment. I'm looking forward to adding zstd and lz4 soon. I'd like to get some input on few questions: - Should zlib be included in the final product just in case if someone doesn't have lz4 or zstd in their kernel? - Should I make a separate stream for each cpu core or stripe across multiple devices when swapping? And special thank you for my "third mentror" markj who has been extra helpful. -Pave