<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>truenas-core on gal.vin</title>
    <link>https://gal.vin/tags/truenas-core/</link>
    <description>Recent content in truenas-core on gal.vin</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>&amp;copy;{year}, All Rights Reserved</copyright>
    <lastBuildDate>Thu, 21 Sep 2023 10:26:32 +0100</lastBuildDate>
    <sy:updatePeriod>daily</sy:updatePeriod>
    
        <atom:link href="https://gal.vin/tags/truenas-core/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>Poor Network Performance With FreeBSD Based Operating Systems On Hyper-V</title>
        <link>https://gal.vin/posts/2023/freebsd-hyperv/</link>
        <pubDate>Thu, 21 Sep 2023 10:26:32 +0100</pubDate>
        
        <atom:modified>Thu, 21 Sep 2023 10:26:32 +0100</atom:modified>
        <guid>https://gal.vin/posts/2023/freebsd-hyperv/</guid>
        <description>The Problem When using FreeBSD based distro&amp;rsquo;s like TrueNAS-Core or pfSense on Hyper-V network performance is very poor.
The Solution Receive Segment Coalescing (RSC) is enabled by default on all virtual NICs with Hyper-V and it should be disabled if you are experiencing poor network performance. You can do this with a quick PowerShell command.
Find out if Software RSC is enabled on your virtual NICs:
1  Get-VMSwitch -Name * | Select name, *RSC*   Disable Software RSC on a specific virtual NIC:</description>
        <content:encoded>&lt;h2 id=&#34;the-problem&#34;&gt;The Problem&lt;/h2&gt;
&lt;p&gt;When using FreeBSD based distro&amp;rsquo;s like TrueNAS-Core or pfSense on Hyper-V network performance is very poor.&lt;/p&gt;
&lt;h2 id=&#34;the-solution&#34;&gt;The Solution&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://learn.microsoft.com/en-us/windows-server/networking/technologies/hpn/rsc-in-the-vswitch&#34;&gt;Receive Segment Coalescing (RSC)&lt;/a&gt; is enabled by default on all virtual NICs with Hyper-V and it should be disabled if you are experiencing poor network performance. You can do this with a quick PowerShell command.&lt;/p&gt;
&lt;p&gt;Find out if Software RSC is enabled on your virtual NICs:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Get-VMSwitch&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;*&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;Select &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;name&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;*&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;RSC&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;*&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Disable Software RSC on a specific virtual NIC:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span class=&#34;nb&#34;&gt;Set-VMSwitch&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-Name&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;virtual NIC name&amp;#34;&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;-EnableSoftwareRsc&lt;/span&gt; &lt;span class=&#34;nv&#34;&gt;$false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h2 id=&#34;support-my-work&#34;&gt;Support My Work&lt;/h2&gt;
&lt;p&gt;If you would like to support me, please check out the link below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.paypal.me/digressive&#34;&gt;PayPal&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you have any questions or comments, please leave them below.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
-Mike&lt;/p&gt;
</content:encoded>
        
        <media:content url="https://gal.vin//media/2023/freebsd.webp" medium="image"><media:title type="html">featured image</media:title></media:content>
        
        
        
          
            
              <category>Hyper-V</category>
            
          
            
              <category>pfsense</category>
            
          
            
              <category>truenas-core</category>
            
          
            
              <category>freebsd</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>