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 120864328B for ; Thu, 26 May 2022 15:53:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 21D4268B567; Thu, 26 May 2022 18:53:49 +0300 (EEST) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1B6C168B4E2 for ; Thu, 26 May 2022 18:53:43 +0300 (EEST) Received: by mail-vs1-f51.google.com with SMTP id b7so1811101vsq.1 for ; Thu, 26 May 2022 08:53:43 -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=G7bSFXtJdnsYetdjwxAJYBFH1NQ2LP64AIFW8XkMYOQ=; b=qi2u1wwaaI1B12lgn2ya569eOlGmUT7ceZ1b/MiRpycUSeO3Kw88z+0XRF6Ez7oKAo EJkJ07/j4mHHIVUdeVDvkZGSKTefOlM1Xb1YXKDmVx+IGWdNMZ1P7F6WkaMnv/BYM9h7 Fie7FuFZJOPzr6iMH7XdBRRptH2rGZhJvTlg5p3lD2SVdPOKc8VAxNgzOde/DliKkkv7 rvIbSkkSPOGugkxTN+KF7E4leYchf2El/BnEDHdnj+00Mk68OFNQsZzIDtaHMUawZfZr QGbkx8NnClzcUcvcGQAsXAl7+8ppRnqlLxLNTbl+M1rjugBJmWUmy0im96BwXmZgfnDT YquQ== 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=G7bSFXtJdnsYetdjwxAJYBFH1NQ2LP64AIFW8XkMYOQ=; b=sF7VAIWGN62eyO7fZYWu6RHqm79dw6Sslf57KGv0GmaF8b7vH84hNtAV0oqPA/YfiG 7fZ/Qjc+MmMqn724rWg9mlNB35+TOSeujjkbFn2Nj26WfrMMN93qRqcHLfDMKGMufdul HNimdFDivYJI1PXDOpk1b6M2loPS1w6CL670dOx/VouAcD9lwN/Xggbpv5YPiPfPCSJ5 JOA2kWmMaoNcWQ2liL1nCw+9ZUPA+DFxjSQ2zt6ZEXM4lsYvwrIU5dHIRxxGljekfBd+ J2jCTWlJPwz8PUM6Ozvq7Bzqaaq0JqomBgJAi/zRYPhD7SF7KsEzmDQcwBRRAzXKIQWU 2wAg== X-Gm-Message-State: AOAM530B1osrBUPviEgm4oVi4znWVMux4D6MDKg+jbK4zB+EAvx1ckxn UKzQKT8yGA/iu31Ih39nwnpLi/b+yZ/K83AC6G8= X-Google-Smtp-Source: ABdhPJyn6B4doT+VHUOlZLbZEK3Tk2o7RWZN9YEIBaahLGUrzD2EKxeZ9pZ79J4D5zwzhLH1QduITlt2EoqcIYsV0iM= X-Received: by 2002:a67:c287:0:b0:337:9270:16be with SMTP id k7-20020a67c287000000b00337927016bemr11900762vsj.32.1653580420893; Thu, 26 May 2022 08:53:40 -0700 (PDT) MIME-Version: 1.0 References: <8c4fb2ec-fb30-67e8-32a0-bb0e828afcc4@rothenpieler.org> In-Reply-To: From: Srihari Sridhar Date: Thu, 26 May 2022 21:23:28 +0530 Message-ID: To: Wolfgang Haupt , FFmpeg development discussions and patches 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, Any updates or new ideas on the issue? Yours truly, S Srihari On Mon, 23 May 2022 at 18:00, Srihari Sridhar wrote: > 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".