I was playing around with the 2d-dist last night, and noticed
something weird occuring whenever I was trying to set some of the
distribution paramaters, I'm not sure if this occurs on other
distributions, but I'm also not sure how to test it on other dists,
reproducing it requires the following sequence:

( I have /scratch mounted through the pvfs2-vfs, and output for the
pvfs2-viewdist's are below)

rm -rf /scratch/2d
mkdir /scratch/2d
setfattr -n "user.pvfs2.dist_name" -v "twod_stripe" /scratch/2d
setfattr -n "user.pvfs2.dist_params" -v "strip_size:1048576" /scratch/2d
touch /scratch/2d/test
pvfs2-viewdist -f /pvfs/4node/2d/test     (#1)
rm /scratch/2d/test
touch /scratch/2d/test
pvfs2-viewdist -f /pvfs/4node/2d/test     (#2)
setfattr -n "user.pvfs2.dist_params" -v "num_groups:3" /scratch/2d
rm /scratch/2d/test
touch /scratch/2d/test
pvfs2-viewdist -f /pvfs/4node/2d/test    (#3)

(#1)
p5l8:/usr/src/gamess-hg# pvfs2-viewdist -f /pvfs/4node/2d/test
dist_name = twod_stripe
dist_params:
num_groups:2,strip_size:1048576,factor:256

(#2)
p5l8:/usr/src/gamess-hg# pvfs2-viewdist -f /pvfs/4node/2d/test
dist_name = twod_stripe
dist_params:
num_groups:2,strip_size:1048576,factor:256

(#3)
p5l8:/usr/src/gamess-hg# pvfs2-viewdist -f /pvfs/4node/2d/test
dist_name = twod_stripe
dist_params:
num_groups:2,strip_size:65536,factor:256

Notice the strip_size has been reverted back to the default setting of 65536.

Any ideas?

Kyle

-- 
Kyle Schochenmaier
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to