So I can re-create the issue: 1) what version of OrangeFS, OS, etc. are you using? 2) what IO backend are you using on the server side (alt-aio or directio)?
Thanks, Michael On Tue, Nov 1, 2011 at 3:11 PM, Kshitij Mehta <[email protected]> wrote: > Hello all, > I have a program in which 2 threads write data to a pvfs2 fs using the > writev function. I am seeing an incorrect file size after the writes are > done. > > This is what the program does: > - Spawn 2 threads using OpenMP. Thread0 will write to file test1.out, > thread1 will write to file test2.out > - In a single writev call, each thread writes an iovec array of 512 > elements, each element of size 1M. So a single writev call writes 512M > data. This cycle is performed twice in total, so each thread writes a file > of size 1G. > > Once the program finishes, I see that the two files created are of size > 512M each, instead of 1G. I ran this program on a local hard drive, and it > works fine. > > I have attached the program here. Any help is appreciated. > > Regards, > Kshitij Mehta > PhD candidate > Parallel Software Technologies Lab > Dept. of Computer Science > University of Houston > Houston, Texas, USA > > _______________________________________________ > Pvfs2-users mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users > >
_______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
