Hi Kshitij, There is a bug in that version of PVFS2, fairly sure it's the one related to the file pointer not being updated correctly in writev()s. Can't find the exact commit right now to confirm. However, using the latest OrangeFS (2.8.4) code I get the expected results. Let me know if you see the same results using the latest code.
Sorry for the delay in getting you an answer. Michael On Wed, Nov 2, 2011 at 2:10 PM, Kshitij Mehta <[email protected]> wrote: > ** > Thank you. The trove method being used is alt-aio. > > - Kshitij > > > On 11/02/2011 01:04 PM, Michael Moore wrote: > > In the server configuration there is a 'TroveMethod' option that will > indicate which Trove backend is in use. > > Michael > > On Wed, Nov 2, 2011 at 12:40 PM, Kshitij Mehta <[email protected]> wrote: > >> I am using pvfs 2.8.2 on OpenSuse 11.3. I compiled using gcc 4.5.0 >> I am not sure what backend is being used on the server side? Is there a >> way I can find this out? >> >> Thanks, >> Kshitij >> >> >> On 11/02/2011 09:32 AM, Michael Moore wrote: >> >> 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
