From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBBFFC43218 for ; Sun, 28 Apr 2019 00:49:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABE7320881 for ; Sun, 28 Apr 2019 00:49:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726253AbfD1As7 (ORCPT ); Sat, 27 Apr 2019 20:48:59 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:55684 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbfD1As6 (ORCPT ); Sat, 27 Apr 2019 20:48:58 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 2CFDA1F453; Sun, 28 Apr 2019 00:48:58 +0000 (UTC) Date: Sun, 28 Apr 2019 00:48:58 +0000 From: Eric Wong To: Deepa Dinamani Cc: Arnd Bergmann , Davidlohr Bueso , Al Viro , Jason Baron , linux-kernel@vger.kernel.org, Omar Kilani , linux-fsdevel@vger.kernel.org Subject: Re: Strange issues with epoll since 5.0 Message-ID: <20190428004858.el3yk6hljloeoxza@dcvr> References: <20190424193903.swlfmfuo6cqnpkwa@dcvr> <20190427093319.sgicqik2oqkez3wk@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Deepa Dinamani wrote: > I tried to replicate the failure on qemu. > I do not see the failure with N=32. > Does it work for N < 32? Depends on number of cores you have; I have 4 cores, 8 threads with HT; so I needed to have a lot of load on the machine to get it to fail (it takes about 1 minute). cmogstored is intended to run on machines that were already saturated in CPU/memory from other processes, but not HDD I/O bandwidth. > Does any other signal work? SIGCONT does, via: perl -i -p -e 's/SIGURG/SIGCONT/g' `git ls-files` > Are there any other architectures that fail? I don't have other arches (well, 32-bit x86, but I've never really tried cmogstored on that, even). > Could you help me figure out how to run just the one test that is failing? Just running one test won't trigger since it needs a busy machine; but: make test/mgmt_auto_adjust.log (and "rm make test/mgmt_auto_adjust.log" if you want to rerun) Thanks for looking into this. Fwiw, cmogstored uses epoll in strange and uncommon ways which has led to kernel bugfixes in the past.