<div dir="ltr"><div>My bad in reading the command line - 20 is the fps of the video, and not the # frames to encode. Ignore that part of the comment above.<br></div>Pradeep.<br><div class="gmail_extra"><br>On Tue, Jul 28, 2015 at 11:16 AM, Pradeep Ramachandran <span dir="ltr"><<a href="mailto:pradeep@multicorewareinc.com" target="_blank">pradeep@multicorewareinc.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ximing Cheng,<div>To increase CPU utilization, you will have to run a higher resolution video (targeting a higher bit rate) in a more advanced setting for a longer duration - a 20 frames of 1080p video encoded with a target bit rate of 1200 in 'fast' preset may not be sufficient to fill out 72 contexts. With higher resolution videos we do see that heavily threaded machines get decent utilization; doesn't hit a 100% all the time but it is better than 35%.</div><div><br></div><div><div>Also, I can try reproducing your result if you can you give your complete command line - the console output shows that some of the default settings have been altered (like frame threads) but your command line doesn't list them.</div></div><div><br></div><div>Thanks,</div><div>Pradeep.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jul 28, 2015 at 7:28 AM, Ximing Cheng <span dir="ltr"><<a href="mailto:chengximing1989@gmail.com" target="_blank">chengximing1989@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><p style="margin:0px;padding:0px;word-wrap:break-word;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px">Hi, I am testing x265 with a two numa nodes server, each node has 36 cores. The x265 version is 1.7 release with command line</p><p style="margin:10px 0px 0px;padding:0px;word-wrap:break-word;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px">./x265 --input-res 1920x1080 --input input.yuv --bitrate 1200 --vbv-maxrate 1380 --fps 20 --early-skip --preset fast -o test1.hevc</p><p style="margin:10px 0px 0px;padding:0px;word-wrap:break-word;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px">but when ruuning on the server, CPU utilization ranges from 27% ~ 35% (< 40%) which means most of the CPU cores are not busy.</p><div style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;line-height:20px"><pre style="margin-top:0px;margin-bottom:0px;padding:5px 10px;font-family:Consolas,Menlo,'Liberation Mono',Courier,monospace;font-size:12px;line-height:1.4;border:1px solid rgb(204,204,204);border-radius:3px;overflow-x:auto;word-wrap:normal;background:rgb(245,245,245)"><span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>HEVC</span> <span>encoder</span> <span>version</span> <span style="color:rgb(0,153,153)">1.7</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>build</span> <span>info</span> <span>[</span><span>Linux</span><span>][</span><span>GCC</span> <span style="color:rgb(0,153,153)">4.4.6</span><span>][</span><span style="color:rgb(0,153,153)">64</span> <span>bit</span><span>]</span> <span style="color:rgb(0,153,153)">8</span><span>bpp</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span style="font-weight:bold">using</span> <span>cpu</span> <span>capabilities</span><span>:</span> <span>MMX2</span> <span>SSE2Fast</span> <span>SSSE3</span> <span>SSE4</span><span style="color:rgb(0,153,153)">.2</span> <span>AVX</span> <span>AVX2</span> <span>FMA3</span> <span>LZCNT</span> <span>BMI2</span>
<span>x265</span> <span>[</span><span>warning</span><span>]</span><span style="font-weight:bold">:</span> <span style="font-weight:bold">--</span><span>psnr</span> <span>used</span> <span>with</span> <span>AQ</span> <span>on</span><span>:</span> <span>results</span> <span>will</span> <span>be</span> <span>invalid</span><span style="font-weight:bold">!</span>
<span>x265</span> <span>[</span><span>warning</span><span>]</span><span style="font-weight:bold">:</span> <span style="font-weight:bold">--</span><span>tune</span> <span>psnr</span> <span>should</span> <span>be</span> <span>used</span> <span style="font-weight:bold">if</span> <span>attempting</span> <span>to</span> <span>benchmark</span> <span>psnr</span><span style="font-weight:bold">!</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Main</span> <span>profile</span><span>,</span> <span>Level</span><span style="font-weight:bold">-</span><span style="color:rgb(0,153,153)">4</span> <span>(</span><span>Main</span> <span>tier</span><span>)</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Thread</span> <span>pool</span> <span style="color:rgb(0,153,153)">0</span> <span style="font-weight:bold">using</span> <span style="color:rgb(0,153,153)">36</span> <span>threads</span> <span>on</span> <span>NUMA</span> <span>node</span> <span style="color:rgb(0,153,153)">0</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Thread</span> <span>pool</span> <span style="color:rgb(0,153,153)">1</span> <span style="font-weight:bold">using</span> <span style="color:rgb(0,153,153)">36</span> <span>threads</span> <span>on</span> <span>NUMA</span> <span>node</span> <span style="color:rgb(0,153,153)">1</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>frame</span> <span>threads</span> <span style="font-weight:bold">/</span> <span>pool</span> <span>features</span>       <span>:</span> <span style="color:rgb(0,153,153)">16</span> <span style="font-weight:bold">/</span> <span>wpp</span><span>(</span><span style="color:rgb(0,153,153)">34</span> <span>rows</span><span>)</span><span style="font-weight:bold">+</span><span>pmode</span>
<span>x265</span> <span>[</span><span>warning</span><span>]</span><span style="font-weight:bold">:</span> <span>VBV</span> <span>maxrate</span> <span>specified</span><span>,</span> <span>but</span> <span>no</span> <span>bufsize</span><span>,</span> <span>ignored</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Coding</span> <span>QT</span><span>:</span> <span>max</span> <span>CU</span> <span>size</span><span>,</span> <span>min</span> <span>CU</span> <span>size</span> <span>:</span> <span style="color:rgb(0,153,153)">32</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">8</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Residual</span> <span>QT</span><span>:</span> <span>max</span> <span>TU</span> <span>size</span><span>,</span> <span>max</span> <span>depth</span> <span>:</span> <span style="color:rgb(0,153,153)">32</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">2</span> <span>inter</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">2</span> <span>intra</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>ME</span> <span style="font-weight:bold">/</span> <span>range</span> <span style="font-weight:bold">/</span> <span>subpel</span> <span style="font-weight:bold">/</span> <span>merge</span>         <span>:</span> <span>star</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">57</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">1</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">2</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Keyframe</span> <span>min</span> <span style="font-weight:bold">/</span> <span>max</span> <span style="font-weight:bold">/</span> <span>scenecut</span>       <span>:</span> <span style="color:rgb(0,153,153)">20</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">250</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">40</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Lookahead</span> <span style="font-weight:bold">/</span> <span>bframes</span> <span style="font-weight:bold">/</span> <span>badapt</span>        <span>:</span> <span style="color:rgb(0,153,153)">60</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">4</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">2</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>b</span><span style="font-weight:bold">-</span><span>pyramid</span> <span style="font-weight:bold">/</span> <span>weightp</span> <span style="font-weight:bold">/</span> <span>weightb</span> <span style="font-weight:bold">/</span> <span>refs</span><span>:</span> <span style="color:rgb(0,153,153)">1</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">1</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">1</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">1</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>AQ</span><span>:</span> <span>mode</span> <span style="font-weight:bold">/</span> <span>str</span> <span style="font-weight:bold">/</span> <span>qg</span><span style="font-weight:bold">-</span><span>size</span> <span style="font-weight:bold">/</span> <span>cu</span><span style="font-weight:bold">-</span><span>tree</span>  <span>:</span> <span style="color:rgb(0,153,153)">1</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">0.3</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">32</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">1</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>Rate</span> <span>Control</span> <span style="font-weight:bold">/</span> <span>qCompress</span>            <span>:</span> <span>ABR</span><span style="font-weight:bold">-</span><span style="color:rgb(0,153,153)">1200</span> <span>kbps</span> <span style="font-weight:bold">/</span> <span style="color:rgb(0,153,153)">0.60</span>
<span>x265</span> <span>[</span><span>info</span><span>]</span><span style="font-weight:bold">:</span> <span>tools</span><span>:</span> <span>rect</span> <span>amp</span> <span>rd</span><span style="font-weight:bold">=</span><span style="color:rgb(0,153,153)">4</span> <span>rdoq</span><span style="font-weight:bold">=</span><span style="color:rgb(0,153,153)">2</span> <span>early</span><span style="font-weight:bold">-</span><span>skip</span> <span>signhide</span> <span>tmvp</span> <span>b</span><span style="font-weight:bold">-</span><span>intra</span></pre></div></div></div>
<br></div></div>_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div><br></div></div>