Any news? On 29/05/2022, 17:33, "CentOS on behalf of Erik Frangež via CentOS" <centos-bounces at centos.org on behalf of centos at centos.org> wrote: Hi guys, Thank you all for replys and sorry I was having enabled digest mode and I did not get all messages in time. Here are answers: Message 2: Client and server are virtual machines inside vmware environment which is connected to 10gbps. Network is devided between virtual machines. Physical servers are connected to Nexus switch with 10gbps. Message 3: We have try speeds with iperf, they are between 1 and 6 gbps, sometimes goes to 8gbps - depends of the load of networks. All checks was done with sync mode (NFS will be used for important data and we do not want to lose something). Message 4: Config is default, just installed and tested with NFSv3 NFSv4. Message 5: We did not enable jumbo frames on network. For all: We are testing speed with this script (PHP7.4): <?php // Define to join the language pack. define('BENCHFAIL_SLOWHARDDRIVE', 'slowharddrive'); $lorem = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque lacus felis, dignissim quis nisl sit amet, blandit suscipit lacus. Duis maximus, urna sed fringilla consequat, tellus ex sollicitudin ante, vitae posuere neque purus nec justo. Donec porta ipsum sed urna tempus, sit amet dictum lorem euismod. Phasellus vel erat a libero aliquet venenatis. Phasellus condimentum venenatis risus ut egestas. Morbi sit amet posuere orci, id tempor dui. Vestibulum eget sapien eget mauris eleifend ullamcorper. In finibus mauris id augue fermentum porta. Fusce dictum vestibulum justo eget malesuada. Nullam at tincidunt urna, nec ultrices velit. Nunc eget augue velit. Mauris sed rhoncus purus. Etiam aliquam urna ac nisl tristique, vitae tristique urna tincidunt. Vestibulum luctus nulla magna, non tristique risus rhoncus nec. Vestibulum vestibulum, nulla scelerisque congue molestie, dolor risus hendrerit velit, non malesuada nisi orci eget eros. Aenean interdum ut lectus quis semper. Curabitur viverra vitae augue id.'; $loremipsum = str_repeat($lorem, 16); $i = 0; $pass = 2000; $tempfile = '/srv/moodledata/test/benchmark.temp'; while ($i < $pass) { ++$i; file_put_contents($tempfile, $loremipsum); unlink($tempfile); } return array('limit' => 1, 'over' => 1.25, 'fail' => BENCHFAIL_SLOWHARDDRIVE); ?> On 29/05/2022, 14:00, "centos-bounces at centos.org on behalf of centos-request at centos.org" <centos-bounces at centos.org on behalf of centos-request at centos.org> wrote: ---------------------------------------------------------------------- Message: 1 Date: Sat, 28 May 2022 15:43:12 +0200 From: Erik Frange? <erik at frangez.net> To: centos at centos.org Subject: [CentOS] NFS Server Centos7 Message-ID: <6dfea2b2-1a90-059c-8ffe-f8f7f077508e at frangez.net> Content-Type: text/plain; charset=UTF-8; format=flowed Hi guys, we are setting NFS server on CentOS7 system. Everything working OK except speed, speed over NFS very drop... if we run dd command directly on server we are getting speed around 1,4Gbps, if we run from client connected to NFS is 200Mbps. Do you have maybe some advice what we need to check? Thank you! Best, Erik ------------------------------ Message: 2 Date: Sat, 28 May 2022 10:40:10 -0600 From: Frank Cox <theatre at sasktel.net> To: centos at centos.org Subject: Re: [CentOS] NFS Server Centos7 Message-ID: <20220528104010.b28a86a9d8ac9186f2fc3743 at sasktel.net> Content-Type: text/plain; charset=UTF-8 On Sat, 28 May 2022 15:43:12 +0200 Erik Frange? via CentOS wrote: > we are setting NFS server on CentOS7 system. Everything working OK > except speed, speed over NFS very drop... if we run dd command directly > on server we are getting speed around 1,4Gbps, if we run from client > connected to NFS is 200Mbps. > > Do you have maybe some advice what we need to check? Speed of network card in the server. Speed of network card in the client. Speed of any and all routers and switches between the server and the client. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ------------------------------ Message: 3 Date: Sat, 28 May 2022 12:07:17 -0700 From: Skylar Thompson <skylar2 at uw.edu> To: centos at centos.org Subject: Re: [CentOS] NFS Server Centos7 Message-ID: <20220528190717.ibbohtdtx4bzkl2w at hithlum> Content-Type: text/plain; charset=utf-8 I would start with something like iperf to measure the actual network throughput b/w the client and server. Once you have a baseline for that, we'd have to know things like read and write buffer sizes, and sync vs async mode. On Sat, May 28, 2022 at 03:43:12PM +0200, Erik Frange? via CentOS wrote: > Hi guys, > > we are setting NFS server on CentOS7 system. Everything working OK except > speed, speed over NFS very drop... if we run dd command directly on server > we are getting speed around 1,4Gbps, if we run from client connected to NFS > is 200Mbps. > > Do you have maybe some advice what we need to check? > > Thank you! > > Best, Erik -- -- Skylar Thompson (skylar2 at u.washington.edu) -- Genome Sciences Department (UW Medicine), System Administrator -- Foege Building S046, (206)-685-7354 -- Pronouns: He/Him/His ------------------------------ Message: 4 Date: Sat, 28 May 2022 21:08:14 +0200 From: Leon Fauster <leonfauster at googlemail.com> To: centos at centos.org Subject: Re: [CentOS] NFS Server Centos7 Message-ID: <9f619570-23b6-eb0a-c68a-dfd744fbd122 at gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Am 28.05.22 um 18:40 schrieb Frank Cox: > On Sat, 28 May 2022 15:43:12 +0200 > Erik Frange? via CentOS wrote: > >> we are setting NFS server on CentOS7 system. Everything working OK >> except speed, speed over NFS very drop... if we run dd command directly >> on server we are getting speed around 1,4Gbps, if we run from client >> connected to NFS is 200Mbps. >> >> Do you have maybe some advice what we need to check? > > Speed of network card in the server. > Speed of network card in the client. > Speed of any and all routers and switches between the server and the client. > and what config is in place ? -- Leon ------------------------------ Message: 5 Date: Sat, 28 May 2022 19:52:29 -0400 From: Valeri Galtsev <galtsev at kicp.uchicago.edu> To: centos at centos.org Subject: Re: [CentOS] NFS Server Centos7 Message-ID: <9c231113-c3e2-7dc2-f2e1-b2cefd0ae274 at kicp.uchicago.edu> Content-Type: text/plain; charset=UTF-8; format=flowed On 5/28/22 9:43 AM, Erik Frange? via CentOS wrote: > Hi guys, > > we are setting NFS server on CentOS7 system. Everything working OK > except speed, speed over NFS very drop... if we run dd command directly > on server we are getting speed around 1,4Gbps, if we run from client > connected to NFS is 200Mbps. > > Do you have maybe some advice what we need to check? > Make sure you have good speed of physical connection along the whole path from server to client(s), enable Jumbo packets on all switches along the path. NFS experts will add NFS specific tuning. Valeri > Thank you! > > Best, Erik > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos ------------------------------ Subject: Digest Footer _______________________________________________ CentOS mailing list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos ------------------------------ End of CentOS Digest, Vol 208, Issue 8 ************************************** _______________________________________________ CentOS mailing list CentOS at centos.org https://lists.centos.org/mailman/listinfo/centos