[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Building a sample File storage app
Hi Thomas, I am chosen to implement the disk in FAT format. Drawing inspiration from your code I have tried to do disk writing operations but instead of V1_LWT.BLOCK I have chosen to go wo with V1_LWT.FS because for the api but the write performance I get is very poor. I takes more than 11 sec to upload a 67Kb file. The file is uploaded quickly but the time taken to write to disk is long hence they delay. Much of my implementation is similar to this code the difference comes in the flush_page_buffer . Since I am using V1_LWT.FS I use FS.write call to write the data to the disk i.e.  buffered_data = Cstruct.sub page_buffer 0 !page_buffer_offset Fs.write fs path !file_offset buffered_data How can I improve the performance ? Note: I am testing this using --unix Regards, Vansh On Sun, Feb 7, 2016 at 11:28 PM, Thomas Leonard <talex5@xxxxxxxxx> wrote: On 6 February 2016 at 20:48, Vanshdeep Singh <kansi13@xxxxxxxxx> wrote: _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |