<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic R80.10 API policies installation benchmark in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3986#M379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;have&amp;nbsp;performed a benchmark of&amp;nbsp;times for&amp;nbsp;policies installation&amp;nbsp;comparing R77.30 through dbedit,&amp;nbsp;R80.10 through mgmt_cli and R80.10 through web services. I will appreciate any suggestion to reduce the R80.10 API times and corrections about the tests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing has been performed with a&amp;nbsp;server virtual machine and a different gateway virtual machine. Both of them&amp;nbsp;are deployed in my&amp;nbsp;local network, so network latency is minimum. The table below shows the devices settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Device&lt;/TH&gt;&lt;TH&gt;Memory&lt;/TH&gt;&lt;TH&gt;Processors&lt;/TH&gt;&lt;TH&gt;Hard disk&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Check Point R77.30 (server)&lt;/TD&gt;&lt;TD&gt;1 GB&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;21 GB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R77.30 (gateway)&lt;/TD&gt;&lt;TD&gt;1 GB&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;21 GB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (server)&lt;/TD&gt;&lt;TD&gt;6&amp;nbsp;GB&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;60 GB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (gateway)&lt;/TD&gt;&lt;TD&gt;4 GB&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;15 GB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The benchmark consists of 254 host_plains,&amp;nbsp;254 network_object_groups,&amp;nbsp;254 tcp_services,&amp;nbsp;254 service_groups and 254 security_rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table below shows the final results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Method&lt;/TH&gt;&lt;TH&gt;Time (hh:mm:ss)&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Check Point R77.30 (dbedit)&lt;/TD&gt;&lt;TD&gt;00:03:46&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (mgmt_cli)&lt;/TD&gt;&lt;TD&gt;00:31:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (web services)&lt;/TD&gt;&lt;TD&gt;01:07:50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command below shows an example of the mgmt_cli&amp;nbsp;schema used:&lt;/P&gt;&lt;PRE&gt;mgmt_cli add host -b hosts.csv --root true&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The request below shows an example of the requests sent through Postman to the web services:&lt;/P&gt;&lt;PRE&gt;Method:&lt;BR /&gt;POST&lt;BR /&gt;&lt;BR /&gt;URL:&lt;BR /&gt;{{server}}/add-host&lt;BR /&gt;&lt;BR /&gt;Headers:&lt;BR /&gt;Content-Type:application/json&lt;BR /&gt;X-chkp-sid:{{session}}&lt;BR /&gt;&lt;BR /&gt;Body:&lt;BR /&gt;{&lt;BR /&gt; "name": "h1.1.1.1",&lt;BR /&gt; "color": "orange",&lt;BR /&gt; "comments": "1.1.1.1",&lt;BR /&gt; "ip-address": "1.1.1.1"&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2017 09:26:07 GMT</pubDate>
    <dc:creator>Intelliment_Sec</dc:creator>
    <dc:date>2017-07-07T09:26:07Z</dc:date>
    <item>
      <title>R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3986#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;have&amp;nbsp;performed a benchmark of&amp;nbsp;times for&amp;nbsp;policies installation&amp;nbsp;comparing R77.30 through dbedit,&amp;nbsp;R80.10 through mgmt_cli and R80.10 through web services. I will appreciate any suggestion to reduce the R80.10 API times and corrections about the tests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Testing has been performed with a&amp;nbsp;server virtual machine and a different gateway virtual machine. Both of them&amp;nbsp;are deployed in my&amp;nbsp;local network, so network latency is minimum. The table below shows the devices settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Device&lt;/TH&gt;&lt;TH&gt;Memory&lt;/TH&gt;&lt;TH&gt;Processors&lt;/TH&gt;&lt;TH&gt;Hard disk&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Check Point R77.30 (server)&lt;/TD&gt;&lt;TD&gt;1 GB&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;21 GB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R77.30 (gateway)&lt;/TD&gt;&lt;TD&gt;1 GB&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;21 GB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (server)&lt;/TD&gt;&lt;TD&gt;6&amp;nbsp;GB&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;60 GB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (gateway)&lt;/TD&gt;&lt;TD&gt;4 GB&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;15 GB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The benchmark consists of 254 host_plains,&amp;nbsp;254 network_object_groups,&amp;nbsp;254 tcp_services,&amp;nbsp;254 service_groups and 254 security_rules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table below shows the final results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Method&lt;/TH&gt;&lt;TH&gt;Time (hh:mm:ss)&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Check Point R77.30 (dbedit)&lt;/TD&gt;&lt;TD&gt;00:03:46&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (mgmt_cli)&lt;/TD&gt;&lt;TD&gt;00:31:20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Check Point R80.10 (web services)&lt;/TD&gt;&lt;TD&gt;01:07:50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command below shows an example of the mgmt_cli&amp;nbsp;schema used:&lt;/P&gt;&lt;PRE&gt;mgmt_cli add host -b hosts.csv --root true&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;The request below shows an example of the requests sent through Postman to the web services:&lt;/P&gt;&lt;PRE&gt;Method:&lt;BR /&gt;POST&lt;BR /&gt;&lt;BR /&gt;URL:&lt;BR /&gt;{{server}}/add-host&lt;BR /&gt;&lt;BR /&gt;Headers:&lt;BR /&gt;Content-Type:application/json&lt;BR /&gt;X-chkp-sid:{{session}}&lt;BR /&gt;&lt;BR /&gt;Body:&lt;BR /&gt;{&lt;BR /&gt; "name": "h1.1.1.1",&lt;BR /&gt; "color": "orange",&lt;BR /&gt; "comments": "1.1.1.1",&lt;BR /&gt; "ip-address": "1.1.1.1"&lt;BR /&gt;}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 09:26:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3986#M379</guid>
      <dc:creator>Intelliment_Sec</dc:creator>
      <dc:date>2017-07-07T09:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3987#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While 6GB of RAM and 2 cores is the minimum requirement, performance with this configuration won't be that great.&lt;/P&gt;&lt;P&gt;I would repeat the test with&amp;nbsp;a more realistic allocation of resources to the R80.10 Management VM (16GB of RAM and 4 cores), which is similar to what the&amp;nbsp;Smart-1 405 appliance includes, as documented here:&amp;nbsp;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk117578&amp;amp;partition=General&amp;amp;product=Smart-1%22" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk117578&amp;amp;partition=General&amp;amp;product=Smart-1%22"&gt;Smart-1 405 and 410&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 15:50:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3987#M380</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2017-07-07T15:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3988#M381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Behind the scenes the "mgmt_cli" tool is making web-services request so I guess there should be a different reason why the mgmt_cli test was&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;faster than the web-service test.&lt;/P&gt;&lt;P&gt;In R80.10 the policy installation process was changed: In R77.30, the management server verifies the entire policy every time a policy is pushed. In R80.10, the management server looks at the changes since the last policy push and verifies only the relevant parts. This can explain why a second policy push might be faster than the first one.&lt;BR /&gt;In large policies the&amp;nbsp;typical performance gain from this change is a policy push twice as fast&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;compared to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;R77.30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, yes, using dbedit is faster for the following reasons:&lt;/P&gt;&lt;P&gt;* It does not perform validations.&lt;/P&gt;&lt;P&gt;* It does not create a database revision.&lt;/P&gt;&lt;P&gt;* It uses a more simple global lock on the database.&lt;/P&gt;&lt;P&gt;* It does not require a "publish" operation.&lt;/P&gt;&lt;P&gt;Many of us in Check &amp;nbsp;Point's RnD are constantly working to minimize this gap and improve the performance of the management server in general and the APIs in particular.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 11:27:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3988#M381</guid>
      <dc:creator>Uri_Bialik</dc:creator>
      <dc:date>2017-07-10T11:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3989#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a python script that uses web-services to creates 254 host objects, 254 group objects, 254 TCP objects, 254 service groups and 254 firewall rules (just like your benchmark but without the policy installation part).&lt;/P&gt;&lt;P&gt;On a VM running on my laptop (6 GB of RAM and 2 cores), it took the script 12:35 minutes to complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll contact you to share the script and understand the differences between our benchmark results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 19:01:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3989#M382</guid>
      <dc:creator>Uri_Bialik</dc:creator>
      <dc:date>2017-07-10T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3990#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone ever observe the CPU clock rate on R80.10 management server ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If use physical server with CPU&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #f3f3f3; font-size: 14.666666984558105px;"&gt;Intel Xeon E5-2660v3, 2.60GHz *2 , will it better?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 03:52:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3990#M383</guid>
      <dc:creator>RickLin</dc:creator>
      <dc:date>2017-07-13T03:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3991#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stronger CPUs will definitely be a net-positive here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 03:59:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3991#M384</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2017-07-13T03:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: R80.10 API policies installation benchmark</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3992#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm interested in if you have found the problem?&lt;/P&gt;&lt;P&gt;Is your script using Keep-Alive Connections? I think&amp;nbsp;with Keep-Alive connections you should get a much better performance.&lt;/P&gt;&lt;P&gt;You have mentioned that mgmt_cli is making web-service request. If you use mgmt_cli and publish your changes does it do one keep-alive connection to publish all changes? This would explain the differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your script here?&lt;/P&gt;&lt;P&gt;Thanks in advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:02:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-10-API-policies-installation-benchmark/m-p/3992#M385</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2017-09-14T08:02:35Z</dc:date>
    </item>
  </channel>
</rss>

