|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
The nfsstat(1) utility may be of help in diagnosing the problem. As would consideration of mount options on the server, such as noatime and -- if your use-case permits it -- async.
|
|
||||
Thanks. I'll try anything at this point. I'm pretty sure I had async at one point and that didn't seem to do anything but I'll try again.
I first added the -r,-w when I started noticing the problem and changing them does do something...but I haven't tried measuring with them removed so I'll give that a shot.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
||||
it seems that async is not a valid option for nfs mounts. But after a bit more of experimenting and using nfsstat I'm starting to think it might be the OpenBSD machine drive but now sure...
Code:
atomizer# nfsstat -c Client Info: Getattr Setattr Lookup Readlink Read Write Create Remove 50398 478 7315 0 1556472 5775282 548 174 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Access 423 0 0 1 0 519 0 5883 Mknod Fsstat Fsinfo PathConf Commit 0 706 13 0 905 Rpc Info: TimedOut Invalid X Replies Retries Requests FrcSync 0 0 1049 1295 7399117 0 Cache Info: Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Misses 2603760 87675 171087 7315 6372 1556472 18446744073708580777 5775282 BioRLHits Misses BioD Hits Misses DirE Hits Misses 0 0 0 0 355 361 But I got the write from the server down to what looks normal...but writes TO the server are still extremly slow.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
||||
I happened across an NFSv3/v2 performance guide that may be of interest, though it is Linux-centric. http://nfs.sourceforge.net/nfs-howto/ar01s05.html
|
|
|||
https://www.admin-magazine.com/HPC/A...and-Management mentions using jumbo Ethernet frames, a Maximum Transmission Unit of 9000 bytes, instead of the standard 1500 byte MTU.
I remember that ajacoutot more than 12 years ago complained on bsdforums.org about the same slow NFS performance of OpenBSD. (Later he became an OpenBSD developer)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump Last edited by J65nko; 5th March 2021 at 03:40 AM. |
|
||||
j65nko and jggimi thanks I will check both of these out. So far only changing -w is doing anything.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
||||
Quick updates...
I found that OpenBSD wouldn't let me set an MTU over 6000. The FreeBSD server allowed an MTU of 9000. Still this seemed to do nothing. On rebooting the OpenBSD machine I noticed RPC portmapper errors in the dmesg. I ended up putting in a 1GB network card I had laying around and those error disappeared. But then I noticed the card wouldn't get over 100MB. So changed network cables and got 1GB. Still this did nothing for nfs write speed to server. But write from server to client was fine. So I ran smartctl on the server drive and it shows no probablems at all. But I was able to write to another drive on the server at resonable speeds. So even though ever test show that the one drive is fine I ordered a new drive and we'll see when it gets here. But I'm thinking that is the problem.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
||||
Quote:
Code:
$ ifconfig em0 hwfeatures em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 hwfeatures=36<CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING> hardmtu 9216 ... Quote:
|
|
||||
Not sure why I didn't think of this so just tried it and yup...perfectly fine. So back to square one.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best way to transfer files from OpenBSD to Windows 7? | guitarscn | OpenBSD General | 24 | 22nd December 2022 10:22 AM |
Slow rsync backup from zfs pool with 99% of files | Septic | FreeBSD General | 10 | 29th May 2013 09:45 PM |
Cannot copy large files to Flash Drive | sharris | FreeBSD General | 6 | 30th July 2010 09:57 AM |
Have problem transfer large file bigger 1GB | bsdme2 | FreeBSD General | 9 | 14th January 2009 05:49 AM |
Local transfer is slow. | maurobottone | OpenBSD General | 1 | 10th January 2009 02:12 PM |