{"id":37,"date":"2006-05-12T15:27:23","date_gmt":"2006-05-12T15:27:23","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/"},"modified":"2015-01-30T11:30:34","modified_gmt":"2015-01-30T11:30:34","slug":"nfsipsec-performance","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/","title":{"rendered":"NFS+IPsec Performance"},"content":{"rendered":"<p>We&#8217;ve recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore.<\/p>\n<p>Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS server only accepts connections from a list of hosts, and we know those hosts are who they say they are by relying on the IPsec authentication. We&#8217;ve also made it use privileged ports to ensure local users don&#8217;t try any spoofing \ud83d\ude42<\/p>\n<p>The trade-off here appears to be latency. I&#8217;ve done some completely unscientific tests that involved shovelling UDP data at a fixed rate between two machines. These are the &#8220;jitter&#8221; figures they produced:<\/p>\n<ul>\n<li>0.10ms &#8211; direct<\/li>\n<li>0.30ms &#8211; via router<\/li>\n<li>0.70ms &#8211; via router with IPsec<\/li>\n<\/ul>\n<p>Bear in mind that those figures might not bear any relation to the latencies involved with NFS packets, but it should give an idea of the relative delays added by routing and IPsec.<\/p>\n<p>We could, to some extent, reduce those figures by replacing hardware. Quicker routers would undoubtedly remove some of the routing latency, and quicker machines could perform the IPsec calculations faster. But this probably isn&#8217;t the cheapest solution.<\/p>\n<p>The first test I want to try is adding a private network between the NFS server and NFS client, with no routing involved. Seeing as it&#8217;s private we can reasonably trust that people won&#8217;t be able to spoof packets on that network and remove the IPsec authentication. In theory, these differences could signficantly reduce the latencies involved.<\/p>\n<p>We&#8217;ll continue to monitor this for a while first, though. We need to keep an eye on loading on the NFS server, network usage, and so on. But, at the moment, it seems likely the problems are in the network part of NFS communication process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS server only accepts connections from &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-computing","category-work"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"We&#039;ve recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tim Bishop\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tim Bishop |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"NFS+IPsec Performance | Tim Bishop\" \/>\n\t\t<meta property=\"og:description\" content=\"We&#039;ve recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-05-12T15:27:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-01-30T11:30:34+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"NFS+IPsec Performance | Tim Bishop\" \/>\n\t\t<meta name=\"twitter:description\" content=\"We&#039;ve recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#article\",\"name\":\"NFS+IPsec Performance | Tim Bishop\",\"headline\":\"NFS+IPsec Performance\",\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"},\"datePublished\":\"2006-05-12T15:27:23+01:00\",\"dateModified\":\"2015-01-30T11:30:34+00:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#webpage\"},\"articleSection\":\"Computing, Work\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/#listItem\",\"name\":\"Work\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/#listItem\",\"position\":2,\"name\":\"Work\",\"item\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#listItem\",\"name\":\"NFS+IPsec Performance\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#listItem\",\"position\":3,\"name\":\"NFS+IPsec Performance\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/category\\\/work\\\/#listItem\",\"name\":\"Work\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\",\"name\":\"Tim Bishop\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Tim Bishop\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tim Bishop\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/\",\"name\":\"NFS+IPsec Performance | Tim Bishop\",\"description\":\"We've recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/2006\\\/05\\\/12\\\/nfsipsec-performance\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2006-05-12T15:27:23+01:00\",\"dateModified\":\"2015-01-30T11:30:34+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/\",\"name\":\"Tim Bishop\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bishnet.net\\\/tim\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"NFS+IPsec Performance | Tim Bishop","description":"We've recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS","canonical_url":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#article","name":"NFS+IPsec Performance | Tim Bishop","headline":"NFS+IPsec Performance","author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"},"datePublished":"2006-05-12T15:27:23+01:00","dateModified":"2015-01-30T11:30:34+00:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#webpage"},"articleSection":"Computing, Work"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bishnet.net\/tim\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/#listItem","name":"Work"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/#listItem","position":2,"name":"Work","item":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#listItem","name":"NFS+IPsec Performance"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#listItem","position":3,"name":"NFS+IPsec Performance","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/#listItem","name":"Work"}}]},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person","name":"Tim Bishop"},{"@type":"Person","@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author","url":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/","name":"Tim Bishop","image":{"@type":"ImageObject","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e954b8a434eb09bf9aeb19e62dee801380a15d8eb88101a8ac5d5d6b52184a10?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tim Bishop"}},{"@type":"WebPage","@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#webpage","url":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/","name":"NFS+IPsec Performance | Tim Bishop","description":"We've recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/author\/admin\/#author"},"datePublished":"2006-05-12T15:27:23+01:00","dateModified":"2015-01-30T11:30:34+00:00"},{"@type":"WebSite","@id":"https:\/\/www.bishnet.net\/tim\/blog\/#website","url":"https:\/\/www.bishnet.net\/tim\/blog\/","name":"Tim Bishop","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.bishnet.net\/tim\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"Tim Bishop |","og:type":"article","og:title":"NFS+IPsec Performance | Tim Bishop","og:description":"We've recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS","og:url":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/","article:published_time":"2006-05-12T15:27:23+00:00","article:modified_time":"2015-01-30T11:30:34+00:00","twitter:card":"summary","twitter:title":"NFS+IPsec Performance | Tim Bishop","twitter:description":"We've recently moved to having our filestore NFS exported from a cluster. This provides almost complete resilience from hardware failures, and moves us away from depending on individual end-user systems with locally attached filestore. Given the inherent insecurities with NFS we opted to use IPsec authentication (but not encryption) between the hosts involved. The NFS"},"aioseo_meta_data":{"post_id":"37","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-11-11 09:58:24","updated":"2025-07-14 14:56:37","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/\" title=\"Work\">Work<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNFS+IPsec Performance\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bishnet.net\/tim\/blog"},{"label":"Work","link":"https:\/\/www.bishnet.net\/tim\/blog\/category\/work\/"},{"label":"NFS+IPsec Performance","link":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/05\/12\/nfsipsec-performance\/"}],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":2,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions\/461"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}