Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1472173ybi; Sat, 27 Jul 2019 10:24:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8+jRK4bbptDhsaTAhWC5QhZtB0bep7RLqq7dv9lEffTFEHzirPTaaIUQUruAagoR9BXfF X-Received: by 2002:a63:1918:: with SMTP id z24mr92725282pgl.94.1564248296815; Sat, 27 Jul 2019 10:24:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564248296; cv=none; d=google.com; s=arc-20160816; b=Ii603vQZ8+rhp5jOe+wfokcQW78C3Xnj1naqQjpLRiB9l59B8kV3phdoWqHeaNL8Xs EHJyt1L2UprQBf49EB3+DKSryED+3eK7dj/LAYqu71v2+P9CDtDX9TEJHFhovd0hTE9x cKbBC7WSf1gDuCesqpKj3S7PvWGJ1RolEsMf9CyMCj1dJXLWUaimJVbCSgIYMVHvnXfc HNV4Dg3OllJLJenJL+NUqGOY1WzekL5hgoLKK13kvilIEEkHRGwciKMdG+LnZZhyzFOd LnF9oFjtSL3tIm+YocyniIuU8QTaWcbsMv+NA1AVGjOkRrKNMtpOIJ6zMCbus1Ook0+a QP/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=uTT6wkrDbQMgFAVWXVE2BMB4yijQpmfh3/+I8Uz26fs=; b=PmULa1SJGvCih/NLvKIxgxwnmA2mdikJOlddxwtMg4zlse78Egj09h04h8gQyGog/g w2/kmiqFWXzoqldK5QcMxfpl0BbwYPWibHIIK3hyrZBfYpqHc9Vo5ZmHzi31H+YxU6bT 874kgEUtRd1RNrsHAlq8Cv0+0Z28M+7L8cROeS6RqWoAupx9xcDID/44ANhVLvO9Qq14 zG2RpQqGJcRlAhhTbsjBlGU4I31XZltzVxakIQD4WDiv77HwvXrx8Jtdie2Q5nNWX795 ULN7bCO7Wse2LrbZlxcqz52wnTew9isSNLtlpltSHd9Cf6K4/ln9OMvG/cJy/UO16PH4 6cYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si25020907pgs.458.2019.07.27.10.24.41; Sat, 27 Jul 2019 10:24:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387925AbfG0RQ6 (ORCPT + 99 others); Sat, 27 Jul 2019 13:16:58 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:60662 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387823AbfG0RQ6 (ORCPT ); Sat, 27 Jul 2019 13:16:58 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E65BA1F462; Sat, 27 Jul 2019 17:16:57 +0000 (UTC) Date: Sat, 27 Jul 2019 17:16:57 +0000 From: Eric Wong To: Andrew Morton Cc: Roman Penyaev , Al Viro , Linus Torvalds , Peter Zijlstra , Azat Khuzhin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 00/14] epoll: support pollable epoll from userspace Message-ID: <20190727171657.cisalgn3wfs5opyi@dcvr> References: <20190611145458.9540-1-rpenyaev@suse.de> <20190726162208.0a9a244d41d9384fb94d9210@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190726162208.0a9a244d41d9384fb94d9210@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrew Morton wrote: > On Tue, 11 Jun 2019 16:54:44 +0200 Roman Penyaev wrote: > > In order to measure polling from userspace libevent was modified [1] and > > bench_http benchmark (client and server) was used: > > > > o EPOLLET, original epoll: > > > > 20000 requests in 0.551306 sec. (36277.49 throughput) > > Each took about 5.54 msec latency > > 1600000bytes read. 0 errors. > > > > o EPOLLET + polling from userspace: > > > > 20000 requests in 0.475585 sec. (42053.47 throughput) > > Each took about 4.78 msec latency > > 1600000bytes read. 0 errors. > > It would be useful to include some words which describe the > significance of this to real-world userspace. If a real application is > sped up 0.000000001% then this isn't very exciting ;) Agreed. I've put my wfcqueue changes from years back on hold because I couldn't show a meaningful improvement in real-world cases: https://lore.kernel.org/lkml/20130401183118.GA9968@dcvr.yhbt.net/ Roman's changes have me interested in seeing how my previous changes would stack up (no UAPI changes required). I've been looking for time to forward port my wfcqueue work to the current kernel (but public-inbox takes priority; not that I have much time for that). On the userspace side; I'm not sure any widely-used open source project is really impacted by epoll performance... Most everybody seems to use level-trigger :<