<div>thanks for your explain here. <br><br>iam trying wrote into file which have 4.5 MB and 115 MB. i think that large amount data. </div><div>iam using file JPG and MP4 extension. </div><div><br></div><div>actually this program about Advanced Encryption Standard (AES), iam gonna try to using MPI I/O for reducing execute time this program. </div>
<div><br></div><div>oh what do you mean about "that only recovers at much higher levels of parallelism"? can you explain the details and with example?</div><div><br></div><div>thanks a lot for your attention</div>
<div><br></div>> 1) when i trying execute my program using MPI-I/O. why when iam execute<br>> with 1 proses, execute time more good than when iam execute with 2 proses.<br>> am i wrong? this is my source code.<br>
<br>In general, with one process doing i/o the file system can cache the<br>heck out of requests. When a second process comes along, the caching<br>needs to be disabled or invalidated, causing a "performance crash"<br>
that only recovers at much higher levels of parallelism.<br><br>Let's look specifically at your code, though:<br><br> MPI_File_open (MPI_COMM_WORLD, file_akhir, MPI_MODE_CREATE |<br> MPI_MODE_WRONLY, MPI_INFO_NULL, &hasil);<br>
int jumlah1 = (((block-1)*16)+pad);<br> int jumlah = jumlah1 / size;<br><br><br> MPI_File_set_view(hasil, rank * jumlah * sizeof(char),<br> MPI_CHAR, MPI_CHAR, "native", MPI_INFO_NULL);<br> MPI_File_write (hasil, output, jumlah1, MPI_CHAR, MPI_STATUS_IGNORE);<br>
MPI_File_close(&hasil);<br><br>- Are you writing a large amount of data or a small amount of data here?<br>- What file system are you using?<br><br><br>--<br>Rob Latham<br>Mathematics and Computer Science Division<br>
Argonne National Lab, IL USA<br><br><br>------------------------------<br><br>_______________________________________________<br>discuss mailing list<br><a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br><a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>