[OpenAFS] Optimizations

hozer hozer@hozed.org
Thu, 25 Apr 2013 21:50:37 -0500


I'd say the best thing you can do for performance is buy 3 1U servers
with dual 3TB mirrored RAID arrays (and at least 16GB memory in each
server), and then use the iSCSI for backup/mirror/replicated/shadow
volumes.

Run the fileserver+dbserver on each machine bare metal and ditch
the virtualization, it's only adding another layer.

Is there something KVM provides that you have to have that AFS
doesn't?

On Tue, Apr 23, 2013 at 10:14:40AM +0200, ProbaNet - Info wrote:
> Hello guys!
>     We're using openafs 1.6 fileserversand we would like to know if we
> can do something to improve performance (we mean: parameters and values).
> Scenario:
> - 3 fileservers, all 64 bit KVM virtual machines with4 vCPU, 1280 MB RAM
> and 4 x 250 GB vice partitions (which are iSCSI targets)
> - 2 dbservers (1 sync site + 1 non-voting clone), 64 bit KVM vms, 2
> vCPU, 512 MB RAM
> - everything runs into an office LAN (1 Gbit), with around 40 users
> - each fileserver hosts 200 to 600 volumes
> 
> Here's actual BosConfig for dbservers:
> -----
> restarttime 16 0 0 0 0
> checkbintime 16 0 0 0 0
> bnode simple ptserver 1
> parm /usr/lib/openafs/ptserver -p 16
> end
> bnode simple vlserver 1
> parm /usr/lib/openafs/vlserver -p 16
> end
> -----
> 
> Here's actual BosConfig for fileservers:
> -----
> restrictmode 0
> restarttime 16 0 0 0 0
> checkbintime 16 0 0 0 0
> bnode fs fs 1
> parm /usr/lib/openafs/fileserver -L -udpsize 65536 -cb 600000 -rxpck
> 4000 -vattachpar 8 -realm XXX.YYY
> parm /usr/lib/openafs/volserver -p 16 -udpsize 65536
> parm /usr/lib/openafs/salvager -parallel all4 -orphans remove
> end
> -----
> 
> Everything works quite fine (except for some occasional slowdown when
> accessing some volume for the first time), but we would like to know if
> we can do something to improve it! :) Thank you very much!
> 
> Stefano
> Fabio
> 
> P.S.: we don't understand the difference between "-udpsize" and
> "-sendsize" fileserver parameters: please can you explain it a bit? :)
> Thanks!
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info