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 763A643053 for ; Thu, 19 May 2022 10:12:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 075B068B495; Thu, 19 May 2022 13:12:13 +0300 (EEST) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B0E4F68B25B for ; Thu, 19 May 2022 13:12:05 +0300 (EEST) Received: by mail-wr1-f52.google.com with SMTP id t6so6452136wra.4 for ; Thu, 19 May 2022 03:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=N4Uje4bT17ZK3SVmxlA6ohaeOrpgPmn036Iajs0C6JQ=; b=e13qGrxGlwPMHRnANG5eTNH8WowfIUJ4MnOnnPLqBlqLJIBA7up2gWRSuCzjjDidEn Yokk2eIwXXfe6QEtsdB0OW1UCgoVKbiZOgoJ+090auAK4lIUGXwqXRYiUTSWzz8CIdw4 Cp4kAWwQoiGV4LbHtACs5eWLgVGvGDILTvQzy6peqydFBmjdmBX2mEKOZKFhvpJi4Ey5 PHGkIUms+26yJo8aOXIRu3zBu3ok2Oo2EJ18bVmT5aqqR4DGGRXvtjYWCAO8ES+HuqBk h0g/62BEI7+6gMGUo2nbiPOBSelNdRT2Q1jJLcDOP6mE/lsfrds4XN5XkWf4Vkydgppv CLhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=N4Uje4bT17ZK3SVmxlA6ohaeOrpgPmn036Iajs0C6JQ=; b=RoRY10yT2I/WQeVC7ckR0MRT8eO8L3/Pig7ckpL82LHuAlN+yLkdYWPZWC6D/lQmsy OfVqcnHMRB65lR2ev3cgqbcyn18U179K1z7UOmGr0cmwVgyYlVzCeCVvlwJ3HFUwDez8 INLk/zZWg8fyGdsuRC9PbsN18mDOVUWMC49cQAtdC1l5HDhDNnZ+wZtkigjoh0xM+Ure 7nt6pCqdU8a9mLvjZnvBpoLYZuAw2BCcbsWxaJYl1dB0cpq9OBeBAQeOhZ5hF/bRCjCb f5cs+roxMNcTcJNlmF7vr3Ep5fV4h0RSaY/psQ+zwpdQxWhBO2w1so2gokX6MlPpXRdL r4WQ== X-Gm-Message-State: AOAM532NIfsBcQamFvcN/t5QVpV/Ne+ry31tEP/ytG7dFF9at/4wWtom SniM/GoPxDo7ARAkItiseIP/6DaUorA= X-Google-Smtp-Source: ABdhPJxWv81m8j5JiYO+5B5O5M9ZymN1RWWwHB9B/gWf2HoRlGaPafTq9pFXfYPCyTEWooQdgCtu3w== X-Received: by 2002:adf:fa52:0:b0:20c:edd9:9e2e with SMTP id y18-20020adffa52000000b0020cedd99e2emr3385526wrr.231.1652955124693; Thu, 19 May 2022 03:12:04 -0700 (PDT) Received: from [172.16.1.172] ([80.122.30.74]) by smtp.gmail.com with ESMTPSA id k186-20020a1ca1c3000000b0039732f1b4a3sm849123wme.14.2022.05.19.03.12.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 May 2022 03:12:04 -0700 (PDT) Message-ID: Date: Thu, 19 May 2022 12:12:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US To: FFmpeg development discussions and patches , Srihari Sridhar References: <8c4fb2ec-fb30-67e8-32a0-bb0e828afcc4@rothenpieler.org> From: Wolfgang Haupt In-Reply-To: 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > 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".