From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 40EB343186 for ; Mon, 23 May 2022 12:30:52 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 42BCA68B46A; Mon, 23 May 2022 15:30:50 +0300 (EEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 690D568B267 for ; Mon, 23 May 2022 15:30:44 +0300 (EEST) Received: by mail-lf1-f42.google.com with SMTP id bu29so25377964lfb.0 for ; Mon, 23 May 2022 05:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YuX9APD0MN6cwIR9tXvvGi/QItn7huCQPCdxEbqX8b8=; b=loeyifW9DdbB3GCSEqHCtIlEOcDPDRmTa5c3IMjVh/cFnir0rKHqWATOOltXzETBfs Gh6hLnAR4pJVwYmYvTLLohL7xZceu0jwW7DijjltO/+vnYr+cvsXRU1Oabqs0t1jm1OT MKu3/o4onzvgYQ48bLs1q++saDYimiZA//upyJzCEuWGLcQmzZhv563z76xPwtysT6BQ cy23hibvOhF2EHwJ9/e9setzIHtll/93aYgl7C3QzFHi7w7yfJRN/EtQicOjyBHatiV9 ezrUoPUDNqmCaGcZItD4nHRuKHuJ2oQnM7HHrQ77x6qaupSP4iU3JDDdp1bbdb11o7mE 7yVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YuX9APD0MN6cwIR9tXvvGi/QItn7huCQPCdxEbqX8b8=; b=g3P9wBatjXcqNNiMRsX//Slfj9sTgQfk9u0e+yM7wU01SgVLoS9hP6V5MH4vN50evI 0h8pZ2PQAW6EY3sG7VSmu2RDAG+qypZeP9dsi8tn7Knkv+UXRQU6AA4CJhZ7BPi7vLPC 1U0ZVwFC26HEsUhfQVt7rJ+SEyYOOJRNva8zdrz85ERmqrmBmW0j+qWbVM6X8rVLpqcA 4lmrSuhSLm2Luohq//WvC35yjxAGEvamljMD2CZylzPh5tRrHqOSxDTNEVZKzCZjZodf mDBiuXbo2FCh5eQDIIorPOymQY0duR31TE5WuZVLUhYvXkFmutijxe1/dtsvOnGXFTju j15A== X-Gm-Message-State: AOAM532YE6C5PWhrBY8T8HJdQH7znoOBo2Rj9ceh/lEYrnpB/w3/EV3i X8gHQKJFeXzL5wv1wCKvdxpTeJ5DBDwCiK/yn6k= X-Google-Smtp-Source: ABdhPJwVOK+tl6dh/6dnpsQSqUoHBLNefaco3rQ6eRXNAa45ZeQjHEwcxV7D0mGP6wZXexN2q/Rryu0qplf+rySbLsg= X-Received: by 2002:a05:6512:10d5:b0:473:dddb:6b20 with SMTP id k21-20020a05651210d500b00473dddb6b20mr15919007lfg.7.1653309043272; Mon, 23 May 2022 05:30:43 -0700 (PDT) MIME-Version: 1.0 References: <8c4fb2ec-fb30-67e8-32a0-bb0e828afcc4@rothenpieler.org> In-Reply-To: From: Srihari Sridhar Date: Mon, 23 May 2022 18:00:32 +0530 Message-ID: To: Wolfgang Haupt , ffmpeg-devel@ffmpeg.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] Issue - Error Due to higher number of threads X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Hi, I tried on AMD ThreadRipper 3990x machine. It has 64 cores and 128 logical processors. The windows make starts failing with 64 threads.It worked successfully until 32 and even 48 threads. Regards, S Srihari On Thu, 19 May 2022 at 15:42, Wolfgang Haupt wrote: > > Hi, > > > > Thanks for the reply. I checked the memory usage while building ffmpeg > with > > 64 threads. The machine I tested has 128 GB ram. While I tested it I > found > > that maximum memory utilized by the build of ffmpeg was 17GB. Still the > > build throws up error semaphore or child process wait (Error 87 : The > > parameter is incorrect). Hence could you check on the same please. I have > > attached screenshots of memory utilized from the task manager. > > What CPU are you on? > There is some complexity regarding the amount of threads and > process groups on windows, see: > > https://www.windowscentral.com/windows-10-pro-cant-handle-amd-threadripper-3990xs-128-threads > > Do you even have a processor that will utilize 64 cores? > I recommend trying with smaller values and see where "windows make" > starts to fail. > > > > > Regards, > > S Srihari > > > > On Thu, 12 May 2022 at 16:45, Timo Rothenpieler > > wrote: > > > >> On 12.05.2022 04:22, Srihari Sridhar wrote: > >>> Hi, > >>> > >>> I was building ffmpeg through windows. While I was able to successfully > >>> able to build for smaller number of threads, for larger number of > >> threads I > >>> faced an issue > >>> > >>> The commands I used were > >>> bash ./configure --arch=x86 --target-os=mingw32 --disable-x86asm > >>> make -j > >>> > >>> While building with 4 Threads the build was successful > >>> Screenshot: > >>> [image: image.png] > >>> > >>> While building with 64 threads, I faced the following error, > >>> Screenshot : > >>> [image: image.png] > >>> semaphore or child process wait (Error 87 : The parameter is > incorrect) > >> Please don't use images for plain text. It's hard to access and barely > >> legible. > >> > >>> Please could you check this issue. Thanks > >> You probably just ran out of RAM or something. Highly unlikely that this > >> is an issue with ffmpeg. > >> _______________________________________________ > >> ffmpeg-devel mailing list > >> ffmpeg-devel@ffmpeg.org > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > >> > >> To unsubscribe, visit link above, or email > >> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". > >> > >> > >> _______________________________________________ > >> ffmpeg-devel mailing list > >> ffmpeg-devel@ffmpeg.org > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > >> > >> To unsubscribe, visit link above, or email > >> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".