{"id":1085,"date":"2019-03-19T15:46:01","date_gmt":"2019-03-19T15:46:01","guid":{"rendered":"http:\/\/www.ankenbrand24.de\/?page_id=1085"},"modified":"2019-03-19T15:51:17","modified_gmt":"2019-03-19T15:51:17","slug":"smt-hyper-threading","status":"publish","type":"page","link":"https:\/\/www.ankenbrand24.de\/index.php\/articles\/check-point-articel\/performance-tuning\/smt-hyper-threading\/","title":{"rendered":"SMT (Hyper Threading)"},"content":{"rendered":"\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"message-subject\" style=\"text-align: center;\"><span class=\"lia-message-read\">R80.x Performance Tuning \u2013 SMT (Hyper Threading)<\/span><\/h2>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">SMT (Hyper Threading)<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>\u00a0<img loading=\"lazy\" class=\"alignnone size-full wp-image-1095\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_1.png\" alt=\"\" width=\"216\" height=\"122\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_1.png 216w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_1-150x85.png 150w\" sizes=\"(max-width: 216px) 100vw, 216px\" \/><\/p>\n<p>Hyper Threading Technology is a form of Simultaneous Multithreading Technology (SMT) introduced by Intel. Architecturally, a processor with Hyper-Threading technology consists of two logical processors per core, each of which has its own processor architectural state.Each logical processor can be individually halted, interrupted or directed to execute a specified thread, independently from the other logical processor sharing the same physical core. Unlike a traditional dual-processor configuration that uses two separate physical processors, the logical processors in a hyper-threaded core share the execution resources. These resources include the execution engine, caches, and system bus interface; the sharing of resources allows two logical processors to work with each other more efficiently, and allows a logical processor to borrow resources from a stalled logical core (assuming both logical cores are associated with the same physical core).<\/p>\n<p>A processor stalls when it is waiting for data it has sent for so it can finish processing the present thread. The degree of benefit seen when using a hyper-threaded or multi core processor depends on the needs of the software, and how well it and the firewall.<\/p>\n<p>Hyper-Threading works by duplicating certain sections of the processor &#8211; those that store the architectural state &#8211; but not duplicating the main execution resources. This allows a hyper-threading processor to appear as the usual &#8220;physical&#8221; processor and an extra &#8220;logical&#8221; processor to the firewall.<\/p>\n<p>The number of concurrent threads can be decided by the chip designers. Two concurrent threads per CPU core are common. Because it is really an efficiency technique that inevitably increases conflict on shared resources, measuring or agreeing on its effectiveness can be difficult.<\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Preview to Intel Architecture<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>The following statement is also often discussed on the Internet:<\/p>\n<p>SMT can increase message rate for multi process applications by having more logical cores. This increases the latency of a single process due to lower frequency of a single logical core when hyper-threading is enabled. This means interrupt processing of the NICs will be slower, load will be higher and packet rate will decrease. I think that&#8217;s why Check Point doesn&#8217;t recommend SMT in pure firewall and VPN mode. From my point of view, it only accelerates software balades. Therefore I use it if necessary, if many blades are activated. I&#8217;d like to discuss that with Check Point.<\/p>\n<p>Small example with basic viewing:<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1096\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_2.png\" alt=\"\" width=\"512\" height=\"277\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_2.png 512w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_2-150x81.png 150w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>This presentation is very simplified and should illustrate the issues. If SMT channel 2 uses all core resources with I\/O operations, channel 1 must wait for the core resources. This can reduce the performance with enabled SMT. The same effect can occur with multi-queue and enabled SMT. The problem can be fixed by adjusting the Check Point affinity or disable SMT. What we see here, many Intel architecture issues can affect SMT and therefore the firewall performance.<\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Check Point and SMT<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>SMT is a feature that is supported on Check Point appliances running Gaia OS. When enabled, SMT doubles the number of logical CPUs on the security gateway, which enhances physical processor utilization. When SMT is disabled, the number of logical CPUs equals the number of physical cores. SMT improves performance up to 30% on software blades such as IPS, Application &amp; URL Filtering and Threat Prevention by increasing the number of CoreXL FW instances based on the number of logical CPUs.<\/p>\n<p>Turning on SMT can have some side effects in terms of multi-queue and affinity. After turning on SMT the affinity should normally be adjusted.<\/p>\n<p>There are also some cases in which SMT should <strong>not<\/strong> be used:<\/p>\n<ul>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 if only firewall\/VPN blades are used<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 if these blades are enabled:\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0 DLP<\/li>\n<li>\u00a0\u00a0\u00a0\u00a0 Anti Virus<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 if these features are enabled\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0 Using services with resources in firewall policy<\/li>\n<\/ul>\n<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 use hide NAT extensively -&gt; Refer to <a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk88160\" target=\"_blank\" rel=\"noopener noreferrer\">sk88160 &#8211; Dynamic NAT port allocation feature<\/a> to mitigate this limitation.<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 more see <a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SK93000<\/a><\/li>\n<\/ul>\n<p>Following information must also be observed before turning on SMT:<\/p>\n<ul>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 Changing SMT state requires reboot.<\/li>\n<li>For supported appliance refer to &#8220;Supported Appliances&#8221;.<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 If you have two ports on any of the aforementioned appliances to handle most of the traffic, it is recommended to enable the multi-queue feature to increase SMT performance.<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 For R77.30 versions only!<br \/>If the VPN blade is enabled and a significant amount of IPSec VPN traffic passes through the security gateway, then follow the steps in <a title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SK93000<\/a>.<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 For the best performance, it is recommended that user space processes not be affined to the same physical CPU core as the secure network distributors (SNDs), but rather that they be <br \/>affined to the firewall workers CPUs (more see <a title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SK93000<\/a>, <a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk98737&amp;partition=Advanced&amp;product=CoreXL%22\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk98737&amp;partition=Advanced&amp;product=CoreXL%22\" target=\"_blank\" rel=\"noopener noreferrer\">SK98737<\/a>).<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 If necessary, the affine has to be adjusted here (more see <a title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SK93000<\/a>).<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 Enabling SMT will load additional CoreXL FW instances. These instances consume memory and the maximal connection capacity may decrease by up to 10%.<br \/>(info from Check Point <a href=\"\/migrated-users\/5015\" target=\"_blank\" rel=\"noopener noreferrer\">Ofir S.<\/a> )<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 more limitations see <a title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SK93000<\/a><\/li>\n<\/ul>\n<p>Supported configurations for SMT:<\/p>\n<ul>\n<li><span style=\"font-size: 11.0pt;\">only on <strong>Check Point appliances<\/strong><\/span><\/li>\n<li><span style=\"font-size: 11.0pt;\">only on security gateways running <strong>Gaia OS with 64-bit kernel<\/strong><\/span><\/li>\n<li><span style=\"font-size: 11.0pt;\">supported for <strong>R77 release and later<\/strong><\/span><span style=\"font-size: 11.0pt;\"><br \/><\/span><\/li>\n<\/ul>\n<p><span style=\"color: #00ccff;\"><strong>Tip!<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">On some open servers SMT (HT) must be <strong>disabled in the BIOS<\/strong> for the gateway installation. This is documented in the HCL for Server see link <a class=\"link-titled\" title=\"https:\/\/www.checkpoint.com\/support-services\/hcl\/\" href=\"https:\/\/www.checkpoint.com\/support-services\/hcl\/\" target=\"_blank\" rel=\"noopener noreferrer\">HCL<\/a>.<br \/><\/span><\/p>\n<p><span style=\"color: #000000;\">For example for &#8220;HP ProLitan DL360 Gen9&#8221; refert to SK <a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk108200&amp;partition=General&amp;product=Security\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk108200&amp;partition=General&amp;product=Security\" target=\"_blank\" rel=\"noopener noreferrer\">Required steps before installing Gaia OS on HP ProLiant Gen9 servers<\/a>.<\/span><\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Supported Appliances<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><span style=\"color: #ff0000;\"><strong>Attention!<\/strong><\/span><\/p>\n<p>SMT is supported only on following Check Point appliances <strong>not on Open Server<\/strong>.<\/p>\n<table class=\"j-table jiveBorder\" style=\"border: 1px solid; border-color: #dbdbdb; background-color: #ffffff;\">\n<thead>\n<tr style=\"background-color: #efefef; height: 25px;\">\n<th style=\"width: 10%; height: 25px; border: 1px solid #dbdbdb; background-color: lightgray;\">Appliance<\/th>\n<th style=\"width: 87%; height: 25px; border: 1px solid #dbdbdb; background-color: lightgray;\">Comment<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 114px;\">\n<td style=\"width: 10%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>3100<\/p>\n<p>3200<\/p>\n<\/td>\n<td style=\"width: 87%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">No hardware support for SMT.<\/td>\n<\/tr>\n<tr style=\"height: 114px;\">\n<td style=\"width: 10%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>5100<\/p>\n<p>5200<\/p>\n<p>5400<\/p>\n<p>5600<\/p>\n<\/td>\n<td style=\"width: 87%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">No hardware support for SMT.<\/td>\n<\/tr>\n<tr style=\"height: 114px;\">\n<td style=\"width: 10%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">5800<br \/>5900<\/td>\n<td style=\"width: 87%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>Is already shipped with enabled SMT feature in the BIOS.<\/p>\n<p>SMT is recommended with all blades.<\/p>\n<ol>\n<li>Installation of the hotfix from <a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk109772\" target=\"_blank\" rel=\"noopener noreferrer\">sk109772 &#8211; R77.30 NGTP, NGTX and HTTPS Inspection performance and memory consumption optimization<\/a>.<\/li>\n<li>Enabling of SMT feature in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<tr style=\"height: 140px;\">\n<td style=\"width: 10%; height: 140px; border: 1px solid #dbdbdb; background-color: #ffffff;\">12400<\/td>\n<td style=\"width: 87%; height: 140px; border: 1px solid #dbdbdb; background-color: #ffffff;\">Requires 8 GB of RAM.<br \/>Refer to these solutions:<br \/>\n<ul>\n<li><a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk68700\" target=\"_blank\" rel=\"noopener noreferrer\">sk68700<\/a> for instructions for &#8220;12400 Appliance Installing and Removing Memory&#8221;<\/li>\n<li><a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk71001\" target=\"_blank\" rel=\"noopener noreferrer\">sk71001<\/a> for instructions on how to upgrade to 64-bit Gaia computers<\/li>\n<\/ul>\nRequires enabling of SMT feature both in the BIOS <span style=\"color: #ff00ff; font-size: 13px;\"><strong>(1)<\/strong><\/span> and in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/td>\n<\/tr>\n<tr style=\"height: 27px;\">\n<td style=\"width: 10%; height: 27px; border: 1px solid #dbdbdb; background-color: #ffffff;\">12600<\/td>\n<td style=\"width: 87%; height: 27px; border: 1px solid #dbdbdb; background-color: #ffffff;\">Requires enabling of SMT feature both in the BIOS <span style=\"color: #ff00ff; font-size: 13px;\"><strong>(1)<\/strong><\/span> and in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/td>\n<\/tr>\n<tr style=\"height: 53px;\">\n<td style=\"width: 10%; height: 53px; border: 1px solid #dbdbdb; background-color: #ffffff;\">13500<br \/>13800<\/td>\n<td style=\"width: 87%; height: 53px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>Is already shipped with enabled SMT feature in the BIOS.<\/p>\nRequires enabling of SMT feature only in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/td>\n<\/tr>\n<tr style=\"height: 114px;\">\n<td style=\"width: 10%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">15400<br \/>15600<\/td>\n<td style=\"width: 87%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>Is already shipped with enabled SMT feature in the BIOS.<\/p>\n<p>SMT is recommended with all blades.<\/p>\n<ol>\n<li>Installation of the hotfix from <a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk109772\" target=\"_blank\" rel=\"noopener noreferrer\">sk109772 &#8211; R77.30 NGTP, NGTX and HTTPS Inspection performance and memory consumption optimization<\/a>.<\/li>\n<li>Enabling of SMT feature in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<tr style=\"height: 77px;\">\n<td style=\"width: 10%; height: 77px; border: 1px solid #dbdbdb; background-color: #ffffff;\">21400<br \/>21600<br \/>21700<\/td>\n<td style=\"width: 87%; height: 77px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>SAM Acceleration card is not supported with SMT<\/p>\nRequires enabling of SMT feature both in the BIOS <span style=\"color: #ff00ff; font-size: 13px;\"><strong>(1)<\/strong><\/span> and in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/td>\n<\/tr>\n<tr style=\"height: 53px;\">\n<td style=\"width: 10%; height: 53px; border: 1px solid #dbdbdb; background-color: #ffffff;\">21800<\/td>\n<td style=\"width: 87%; height: 53px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>Is already shipped with enabled SMT feature in the BIOS.<\/p>\nRequires enabling of SMT feature only in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/td>\n<\/tr>\n<tr style=\"height: 114px;\">\n<td style=\"width: 10%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">23500<br \/>23800<\/td>\n<td style=\"width: 87%; height: 114px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>Is already shipped with enabled SMT feature in the BIOS.<\/p>\n<p>SMT is recommended with all blades.<\/p>\n<ol>\n<li>Installation of the hotfix from <a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk109772\" target=\"_blank\" rel=\"noopener noreferrer\">sk109772 &#8211; R77.30 NGTP, NGTX and HTTPS Inspection performance and memory consumption optimization<\/a>.<\/li>\n<li>Enabling of SMT feature in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/li>\n<\/ol>\n<\/td>\n<\/tr>\n<tr style=\"height: 35px;\">\n<td style=\"width: 10%; height: 35px; border: 1px solid #dbdbdb; background-color: #ffffff;\">23900<\/td>\n<td style=\"width: 87%; height: 35px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>Hyper Threading is hard-coded to be disabled on R77.30 and R80.10, with no impact on performance<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 79px;\">\n<td style=\"width: 10%; height: 79px; border: 1px solid #dbdbdb; background-color: #ffffff;\">TE250X<br \/>TE1000X<br \/>TE2000X<\/td>\n<td style=\"width: 87%; height: 79px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p><span style=\"font-size: 15px;\">Is already shipped with enabled SMT feature in the BIOS.<\/span><\/p>\n<p><span style=\"font-size: 15px;\">Requires enabling of SMT feature only in &#8216;<code>cpconfig<\/code>&#8216; (refer to &#8220;Enable SMT&#8221; section).<\/span><\/p>\n<p><span style=\"font-size: 15px;\">On these appliances, SMT is recommended with all blades.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 79px;\">\n<td style=\"width: 10%; height: 79px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p>40K<\/p>\n<p>60K<\/p>\n<\/td>\n<td style=\"width: 87%; height: 79px; border: 1px solid #dbdbdb; background-color: #ffffff;\">\n<p><span style=\"font-size: 15px;\">SGM220 no SMT support<br \/><\/span><\/p>\n<p><span style=\"font-size: 15px;\">SGM200T no SMT support<\/span><\/p>\n<p><span style=\"font-size: 15px;\">SGM260 SMT support (20 physical cores \/ 40 with enabled SMT)<br \/><\/span><\/p>\n<p><span style=\"font-size: 15px;\">SGM400 SMT support (28 physical cores \/ 56 with enabled SMT)<br \/><\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong><span style=\"color: #ff00ff; font-size: 13px;\">(1)<\/span> Note<\/strong>: To enable SMT in the BIOS, <a href=\"http:\/\/www.checkpoint.com\/services\/contact\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">contact Check Point Support<\/a> or <a href=\"http:\/\/www.checkpoint.com\/support-services\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">contact Check Point Professional Services<\/a> to get confirmation and approval beforehand.<\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Check if SMT is activated<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>Check if SMT is activated and check current SMT status on security gateway:<\/p>\n<p><strong># cat \/proc\/smt_status<\/strong><\/p>\n<p>Either SMT is not supported on this machine or SMT is disabled in the BIOS.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1087\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_4.png\" alt=\"\" width=\"470\" height=\"37\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_4.png 470w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_4-150x12.png 150w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/p>\n<p>SMT is enabled in the BIOS, but disabled in &#8216;<span style=\"font-size: 10.0pt;\">cpconfig<\/span>&#8216;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1087\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_4.png\" alt=\"\" width=\"470\" height=\"37\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_4.png 470w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_4-150x12.png 150w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/p>\n<p>SMT is enabled in BIOS and in &#8216;<span style=\"font-size: 10.0pt;\">cpconfig<\/span>&#8216;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1088\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_5.png\" alt=\"\" width=\"476\" height=\"37\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_5.png 476w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_5-150x12.png 150w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/p>\n<p>If SMT is activated this command shows the nummbers of CPUs, cores and SMTs:<\/p>\n<p><strong># grep -E &#8220;cpu cores|siblings|physical id&#8221; \/proc\/cpuinfo | xargs -n 11 echo |sort |uniq<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1089\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_6.png\" alt=\"\" width=\"644\" height=\"126\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_6.png 644w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_6-150x29.png 150w\" sizes=\"(max-width: 644px) 100vw, 644px\" \/><\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Enable SMT<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>1) Check the number of cores<\/p>\n<p># <strong>fw ctl multik stat<br \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" class=\"alignnone size-full wp-image-1090\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_7.png\" alt=\"\" width=\"544\" height=\"60\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_7.png 544w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_7-150x17.png 150w\" sizes=\"(max-width: 544px) 100vw, 544px\" \/><\/strong><\/p>\n<p>2) Check the number of cores in the gateway license.<br \/># <strong>cplic print<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1091\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_8.png\" alt=\"\" width=\"545\" height=\"36\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_8.png 545w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_8-150x10.png 150w\" sizes=\"(max-width: 545px) 100vw, 545px\" \/><\/p>\n<p>3) Enable SMT in the BIOS + Reboot<\/p>\n<p>4) Enable SMT in Check Point software and reboot the gateway.<\/p>\n<p><span style=\"color: red;\"><strong>Attention!<\/strong><br \/><\/span> 1) If multi-queue and affinity are not adjusted or used, this can lead to performance problems in combination with SMT.<\/p>\n<p>2) Before enabling SMT, follow the instructions in <a title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SK93000<\/a> to verify that the Security Gateway can support SMT safely and check if there is enough memory available for the FW_Worker.<\/p>\n<p><strong># cpconfig<\/strong><\/p>\n<ul>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 Choose &#8216;<span style=\"font-size: 10.0pt;\">Configure Hyper-Threading<\/span>&#8216;<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 Select &#8216;<span style=\"font-size: 10.0pt;\">yes<\/span>&#8216;<\/li>\n<\/ul>\n<p># <strong>reboot<\/strong><\/p>\n<p>5) Check the number of CoreXL FW instances<\/p>\n<p><strong># fw ctl multik stat<br \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" class=\"alignnone size-full wp-image-1092\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_9.png\" alt=\"\" width=\"544\" height=\"60\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_9.png 544w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_9-150x17.png 150w\" sizes=\"(max-width: 544px) 100vw, 544px\" \/><\/strong><\/p>\n<p>If the number of CoreXL FW instances did not increase automatically, then configure the CoreXL.<\/p>\n<p><strong># cpconfig<\/strong><\/p>\n<ul>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 Choose &#8216;<span style=\"font-size: 10.0pt;\">Configure Check Point CoreXL<\/span>&#8216;<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0 Set the desired number of CoreXL FW instances<br \/>(for example 3 CoreXL FW instances)<\/li>\n<\/ul>\n<p><span style=\"color: red;\"><strong>Attention!<\/strong><br \/><\/span> With a ClusterXL, the core number must be the same on all gateways. Otherwise ClusterXL problems will occur.<\/p>\n<p><strong># reboot<\/strong><\/p>\n<p>6) Check again the number of CoreXL FW instances<\/p>\n<p><strong># fw ctl multik stat<\/strong><\/p>\n<p><strong><img loading=\"lazy\" class=\"alignnone size-full wp-image-1093\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_10.png\" alt=\"\" width=\"539\" height=\"81\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_10.png 539w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_10-150x23.png 150w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/strong><\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Disable SMT<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p>1) Disable SMT in Check Point software and reboot the gateway.<\/p>\n<p><strong># cpconfig<\/strong><\/p>\n<ul>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 Choose &#8216;<span style=\"font-size: 10.0pt;\">Configure Hyper-Threading<\/span>&#8216;<\/li>\n<li style=\"text-indent: -18.0pt;\">\u00a0\u00a0\u00a0\u00a0\u00a0 Select &#8216;<span style=\"font-size: 10.0pt;\">No<\/span>&#8216;<\/li>\n<\/ul>\n<p># reboot<\/p>\n<p>2) Check the number of CoreXL FW instances<\/p>\n<p><strong><span style=\"font-size: 11.0pt;\">#<\/span> <span style=\"font-size: 11.0pt;\">fw ctl multik stat<\/span><span style=\"font-size: 11.0pt;\"><strong><br \/><\/strong><\/span><\/strong><\/p>\n<p><span style=\"font-size: 11.0pt;\"><strong><strong><img loading=\"lazy\" class=\"alignnone size-full wp-image-1094\" src=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_11.png\" alt=\"\" width=\"544\" height=\"60\" srcset=\"https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_11.png 544w, https:\/\/www.ankenbrand24.de\/wp-content\/uploads\/2019\/03\/ht_11-150x17.png 150w\" sizes=\"(max-width: 544px) 100vw, 544px\" \/><\/strong><\/strong><\/span><\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">Q&amp;A<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><br \/><strong>Q:<\/strong> Which appliances were tested with SMT enabled.<\/p>\n<p><strong>A:<\/strong> 5800 \/ 5900 \/ 15400 \/ 15600 \/ 23500 \/ 23800 \/ TE250X \/ TE1000X \/ TE2000X<\/p>\n<p><strong>Q:<\/strong> I have an Open Server. Can I enable SMT in the BIOS and use it?<\/p>\n<p><strong>A:<\/strong> SMT is supported only on Check Point appliances.<\/p>\n<p><strong>Q:<\/strong> Is any degradation expected when enabling SMT?<br \/><strong>A:<\/strong> Enabling SMT will load additional CoreXL FW instances. These instances consume memory and the maximal connection capacity may decrease by up to 10%.<\/p>\n<p><strong>Q:<\/strong> On which appliances is SMT enabled by default in the BIOS?<\/p>\n<p><strong>A:<\/strong> Only on 13500 \/ 13800 \/ 15400 \/ 15600 \/ 21800 \/ 23500 \/ 23800 \/ TE250X \/ TE1000X \/ TE2000X appliances<\/p>\n<p><strong>Q:<\/strong> What to do if multi-queue is enabled?<\/p>\n<p><strong>A:<\/strong> If using Multi-Queue, once the final CoreXL split has been set be sure to run <strong>cpmq<\/strong> reconfigure and reboot again, this will help ensure the new allocation of SND\/IRQ cores are properly deployed for SoftIRQ processing on the Multi-Queue-enabled interfaces.<\/p>\n<table style=\"border: 1px solid #c6c6c6; border-collapse: separate; border-radius: 5px; background-color: #e15180; padding: 6px; text-indent: 10px;\" width=\"100%\">\n<thead>\n<tr>\n<th align=\"left\"><span style=\"color: #ffffff; font-size: large;\">References<\/span><\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><span style=\"font-size: 11.0pt;\"><a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk93000&amp;partition=General&amp;product=Enterprise\" target=\"_blank\" rel=\"noopener noreferrer\">SMT (HyperThreading) Feature Guide<\/a><br \/><\/span><span style=\"font-size: 11.0pt;\"><a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk98348&amp;partition=General&amp;product=Security#Best%20practices%20-%20SMT%20(HyperThreading)\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk98348&amp;partition=General&amp;product=Security#Best%20practices%20-%20SMT%20(HyperThreading)\" target=\"_blank\" rel=\"noopener noreferrer\">Best Practices &#8211; Security Gateway Performance<\/a><br \/><\/span><span style=\"font-size: 11.0pt;\"><a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk98737&amp;partition=Advanced&amp;product=CoreXL%22\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk98737&amp;partition=Advanced&amp;product=CoreXL%22\" target=\"_blank\" rel=\"noopener noreferrer\">ATRG: CoreXL<\/a> <br \/><\/span><span style=\"font-size: 11.0pt;\"><a class=\"link-titled\" title=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk103656&amp;partition=General&amp;product=CoreXL%22\" href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk103656&amp;partition=General&amp;product=CoreXL%22\" target=\"_blank\" rel=\"noopener noreferrer\">Dynamic NAT port allocation feature<\/a> <\/span><\/p>\n<p><span style=\"font-size: 11.0pt;\">Copyright by Heiko Ankenbrand 1994-2019<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>R80.x Performance Tuning \u2013 SMT (Hyper Threading) SMT (Hyper Threading) \u00a0 Hyper Threading Technology is a form of Simultaneous Multithreading Technology (SMT) introduced by Intel. Architecturally, a processor with Hyper-Threading technology consists of two logical processors per core, each of which has its own processor architectural state.Each logical processor can be individually halted, interrupted or<\/p>\n<p><a class=\"button\" href=\"https:\/\/www.ankenbrand24.de\/index.php\/articles\/check-point-articel\/performance-tuning\/smt-hyper-threading\/\" title=\"More\">  Read More \u2192<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1068,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/pages\/1085"}],"collection":[{"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":7,"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/pages\/1085\/revisions"}],"predecessor-version":[{"id":1103,"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/pages\/1085\/revisions\/1103"}],"up":[{"embeddable":true,"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/pages\/1068"}],"wp:attachment":[{"href":"https:\/\/www.ankenbrand24.de\/index.php\/wp-json\/wp\/v2\/media?parent=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}