> Thus, for a single 100GB file like "/mnt/fhgfs/mybigfile" that is
> striped across 4 storage targets, fhgfs will create exactly one 25GB
> chunk file on each of the 4 storage targets.
ok, may be my impression was misleaded by other users writing short
files at the same time
to the same device. the xfs configuration is "good" and the local xfs
performance
ist also good.
Our configuration:
- three storage nodes
- two xfs file systems per storage node
- 36 1TB SAS 7.2k disks per file system (MD1200 enclosures, Dell H800
Controller)
Problem:
locally writing to the xfs file system with dd i get 1.2-1.5GB/sec per
file system and
3-3.5 GB/sec per storage node.
But writing with x fhgfs clients to the user file system seems to be
limited by ~900 MB/sec per storage node (< 500 MB/sec per xfs file
system), where
i expected >= 3 GB/sec.
This is a large difference and i am looking for the bottleneck.
Is it possible to get the name of all chunk files
for a given user file? If all user files are equally distributed
to the storage nodes, why is there a difference in the amount of data
in the file systems and in the number of inodes:
storage01:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdc 29284640768
4096847952 25187792816 14% /fhgfs/
storage1
/dev/sdd 29284640768
4748381864 24536258904 17% /fhgfs/
storage2
storage02:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdc 29284640768 3718309936 25566330832 13% /fhgfs/
storage1
/dev/sdd 29284640768
4157668568 25126972200 15% /fhgfs/
storage2
storage03:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdc 29284640768 3709046532 25575594236 13% /fhgfs/
storage1
/dev/sdd 29284640768
4048550512 25236090256 14% /fhgfs/
storage2
and the inodes:
storage01:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdc
5857345536 396035
5856949501 1% /fhgfs/
storage1
/dev/sdd
5857345536 1216478
5856129058 1% /fhgfs/
storage2
storage02:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdc
5857345536 398003
5856947533 1% /fhgfs/
storage1
/dev/sdd
5857345536 1213311
5856132225 1% /fhgfs/
storage2
storage03:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sdc
5857345536 1213245 5856132291 1% /fhgfs/
storage1
/dev/sdd
5857345536 397627 5856947909 1% /fhgfs/
storage2
fhgfs:
Filesystem 1K-blocks Used Available Use% Mounted on
fhgfs_nodev 175707844608 24483033184 151224811424 14% /
scratch
/etc/fhgfs/fhgfs-storage.conf is:
...
tuneNumWorkers = 48
tuneWorkerBufSize = 4m
tuneFileReadSize = 128k
tuneFileWriteSize = 128k
...
and /etc/fhgfs/fhgfs-client.conf is:
...
connUseSDP = false
connUseRDMA = true
connRDMABufSize = 65536
connRDMABufNum = 160
connMaxInternodeNum = 6
...
tuneNumWorkers = 0
tunePreferredMetaFile =
tunePreferredStorageFile =
tuneFileCacheType = buffered
tuneRemoteFSync = true
tuneUseGlobalFileLocks = false
...