DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BI2QwwF240366 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BI2QwwF240366 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=SVCIWnQi X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 507C73858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1734488816; bh=ukEjbzndZOx5uRmamZp9VXnYnlI/RjT/b3SIiJJwbZQ=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=SVCIWnQiBFL7JfLA8I6C2fbuLdVb5GM5EUg+PYZIOMY8z3Ek4MUegyTgqt9eNHZyv 317uAhu4BN+7eZ2JBio5M/XHOgJ5VMSh3jYFx9XS/2FA2uEnz9JH78lZVHQoNQ5W8c b45sw7447HH35WJRxW+Jo4W0dCiV77S/5fgBEIk4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CFD343858410 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CFD343858410 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734488738; cv=none; b=CLgMUpfXYN8IGfG/HrvhatcoGId448joib9gOuZUCSpUBjMqRxIBfXZAr8V502Xgzl0uaX5IP2EvZL5EXqJ3eR0zPV4wMolJg2xpTgSSMAsItPQAJFSVrNlwjwuIzx8t/g4yXwEkvo71cbqth6R6C4daY6lGWwNM9Tp6AY7o5lY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1734488738; c=relaxed/simple; bh=DU47/X64nWRUsCux3KEr0jETxwMVlO6HynT+lhp3BnQ=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=n5Ig7WBNdA6d92PHKl3AoqyrR3fsbe0PwoQOnfxmN9dCseN2Y5dJEs9tJVfhyGE/6mh5WJtKyNwbl0RRC3ihYr+Pm999hnrTWa8ECSRguLMZj8jeAMUJHWGYh4RLkd6lmEwGfTgJUEdCJYyyWdRJ9nFeTrkCuYGQ9OjAEq7AGPk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFD343858410 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734488736; x=1735093536; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=584p8eDh+9yIyorAXaJQMR1gtqaVJwNbnR2i9BYaZc4=; b=o7+2Um7gbNQaUKkRkaQKBFwOAjPfrrNsgGPvfRd/M/Sx98WIWLO4z8PR5cSr6HDZuc +dbfxPdmP0qzi/OW1uuSESorGhYOkkB71gV0/4LwIyGG1tJTSNnOhzze02N2E8n0hSSd shb1SuRs2WEXPf5VRa1R+3eWaWMhS+130CXbhq7Sl/mZ6EOlemlo+BaOxAqw7OH7feXz Tc+11pURyQXB86aSt4G7FdB6PNACoCgAye5tWBDAdDex36cgTwUzvogOGQ+VWTh6PKjc 49aOS02vUJHGu1Re4bqhapWfUFgm+DUYqETLf928fTVBWDkTUftRpK5cdH450WUk6KKh M26w== X-Gm-Message-State: AOJu0Yxab3twrJfdcnOnbtHuBbhbxWM/NAVwxfb9TzaYQxOGxXRhHOa6 oYXnNIG3+3qyhn41TlcUXSO/JZoGsF0BbHA8cT1xIl5Go5nvkWmqT5jGRUWG/KCUoooOVtL+zqe QKPx7h6p/0jZ/+ztiPM+KVnan08A= X-Gm-Gg: ASbGncus9iR/5z1BfVRGcn724HeqSyysdA/Pu8RqTlhb9LmAXujr+lJw4Z/F+z7n3wK le23SkSIoYLkuiyQvtu9K2dUpq6wgi4BurekKb9E= X-Google-Smtp-Source: AGHT+IEx3gcGZciPW+iRa0ZYqh+JYKYrgfWJ9NTwgBgXjHaDVUnISM+NkWVFNts1Daa3DwzThKJ8Tg/nyxfUzWEt+bQ= X-Received: by 2002:a05:6402:2807:b0:5cf:c97c:8206 with SMTP id 4fb4d7f45d1cf-5d7ee3fd6demr1101747a12.25.1734488736092; Tue, 17 Dec 2024 18:25:36 -0800 (PST) MIME-Version: 1.0 References: <20241212142517 DOT 5718c29573457aad0cbee671 AT nifty DOT ne DOT jp> <20241212170927 DOT 94b70a7bccd8926156b005ab AT nifty DOT ne DOT jp> <20241212215357 DOT 9816faca5514fe0145bc16f3 AT nifty DOT ne DOT jp> <20241212225631 DOT 6e940a2caeba079577a2539e AT nifty DOT ne DOT jp> In-Reply-To: Date: Wed, 18 Dec 2024 10:25:25 +0800 Message-ID: Subject: Re: procps can work To: Takashi Yano Cc: cygwin AT cygwin DOT com X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?b?5Yev5aSPIHZpYSBDeWd3aW4=?= Reply-To: =?UTF-8?B?5Yev5aSP?= Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4BI2QwwF240366 So, there is a big performance difference between windows and linux? On linux, 3000 processes just take about 0.1 second. On Fri, Dec 13, 2024 at 10:22 AM 凯夏 wrote: > After I upgraded to 3.6.0-0.287.g1d1451ccd2a6, procps can work now. > It doesn't just hang for a short time, I have a crontab job to log process > information into file every minute, and I found ps running for hours, so I > have to stop the job. > > On Thu, Dec 12, 2024 at 9:56 PM Takashi Yano > wrote: > >> On Thu, 12 Dec 2024 21:48:05 +0800 >> 凯夏 wrote: >> > 31 AT 21:47:19#xiakai1 AT tp/~> /usr/bin/ps|wc -l >> > 146 >> > 31 AT 21:47:21#xiakai1 AT tp/~> >> > about 146 processes >> >> It is possibly just due to too many processes for procps, isn't it? >> I tested procps with 200 processes (sleep 100) and it took about >> 10 seconds. >> >> What kind of CPU does your machine have? >> >> -- >> Takashi Yano >> > -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple