Why FAT32 R/W performance too low for big file transfer? How can I improve it? [on hold]












0















I have mounted FAT32 formatted USB storage to ext4 FS and executed a large file copy operation.



Observed that FAT32 R/W performance to ext4 partition is very much slower
than same ext4 partitions .



I've tried various combinations of with mount with ASYNC option and increased the FAT cluster but it didn't help.



Debugged the v4.4.84 kernel and looks like following functions are taking more time:



fat_write_end(){ 
...
block_write_end(){
...
grab_page_cache_write_begin(){
...

} //+96.923us

} //+168.089us

} //+189.778us


I have used simple copy command. File size is 256 mb with bs of 64K.



Could you please suggest how to improve the performance?



Help is greatly appreciated!










share|improve this question









New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Charles Green, Kulfy, Terrance, karel, Eric Carvalho Jan 11 at 15:57


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
















  • Updated my queries . Hope my query is clear now.

    – chinmoy ghosh
    yesterday











  • How exactly are you copying the file(s) in question between the various file systems?

    – David Foerster
    16 hours ago











  • Thanks for the asking. I have used simple copy command. File size is 256 mb with bs of 64K.

    – chinmoy ghosh
    14 hours ago











  • Could you please edit your post when you want to clarify something or add information? It’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    13 hours ago
















0















I have mounted FAT32 formatted USB storage to ext4 FS and executed a large file copy operation.



Observed that FAT32 R/W performance to ext4 partition is very much slower
than same ext4 partitions .



I've tried various combinations of with mount with ASYNC option and increased the FAT cluster but it didn't help.



Debugged the v4.4.84 kernel and looks like following functions are taking more time:



fat_write_end(){ 
...
block_write_end(){
...
grab_page_cache_write_begin(){
...

} //+96.923us

} //+168.089us

} //+189.778us


I have used simple copy command. File size is 256 mb with bs of 64K.



Could you please suggest how to improve the performance?



Help is greatly appreciated!










share|improve this question









New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as unclear what you're asking by Charles Green, Kulfy, Terrance, karel, Eric Carvalho Jan 11 at 15:57


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
















  • Updated my queries . Hope my query is clear now.

    – chinmoy ghosh
    yesterday











  • How exactly are you copying the file(s) in question between the various file systems?

    – David Foerster
    16 hours ago











  • Thanks for the asking. I have used simple copy command. File size is 256 mb with bs of 64K.

    – chinmoy ghosh
    14 hours ago











  • Could you please edit your post when you want to clarify something or add information? It’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    13 hours ago














0












0








0


1






I have mounted FAT32 formatted USB storage to ext4 FS and executed a large file copy operation.



Observed that FAT32 R/W performance to ext4 partition is very much slower
than same ext4 partitions .



I've tried various combinations of with mount with ASYNC option and increased the FAT cluster but it didn't help.



Debugged the v4.4.84 kernel and looks like following functions are taking more time:



fat_write_end(){ 
...
block_write_end(){
...
grab_page_cache_write_begin(){
...

} //+96.923us

} //+168.089us

} //+189.778us


I have used simple copy command. File size is 256 mb with bs of 64K.



Could you please suggest how to improve the performance?



Help is greatly appreciated!










share|improve this question









New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have mounted FAT32 formatted USB storage to ext4 FS and executed a large file copy operation.



Observed that FAT32 R/W performance to ext4 partition is very much slower
than same ext4 partitions .



I've tried various combinations of with mount with ASYNC option and increased the FAT cluster but it didn't help.



Debugged the v4.4.84 kernel and looks like following functions are taking more time:



fat_write_end(){ 
...
block_write_end(){
...
grab_page_cache_write_begin(){
...

} //+96.923us

} //+168.089us

} //+189.778us


I have used simple copy command. File size is 256 mb with bs of 64K.



Could you please suggest how to improve the performance?



Help is greatly appreciated!







kernel filesystem fat32






share|improve this question









New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 13 hours ago







chinmoy ghosh













New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Jan 11 at 14:28









chinmoy ghoshchinmoy ghosh

11




11




New contributor




chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






chinmoy ghosh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as unclear what you're asking by Charles Green, Kulfy, Terrance, karel, Eric Carvalho Jan 11 at 15:57


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as unclear what you're asking by Charles Green, Kulfy, Terrance, karel, Eric Carvalho Jan 11 at 15:57


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Updated my queries . Hope my query is clear now.

    – chinmoy ghosh
    yesterday











  • How exactly are you copying the file(s) in question between the various file systems?

    – David Foerster
    16 hours ago











  • Thanks for the asking. I have used simple copy command. File size is 256 mb with bs of 64K.

    – chinmoy ghosh
    14 hours ago











  • Could you please edit your post when you want to clarify something or add information? It’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    13 hours ago



















  • Updated my queries . Hope my query is clear now.

    – chinmoy ghosh
    yesterday











  • How exactly are you copying the file(s) in question between the various file systems?

    – David Foerster
    16 hours ago











  • Thanks for the asking. I have used simple copy command. File size is 256 mb with bs of 64K.

    – chinmoy ghosh
    14 hours ago











  • Could you please edit your post when you want to clarify something or add information? It’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

    – David Foerster
    13 hours ago

















Updated my queries . Hope my query is clear now.

– chinmoy ghosh
yesterday





Updated my queries . Hope my query is clear now.

– chinmoy ghosh
yesterday













How exactly are you copying the file(s) in question between the various file systems?

– David Foerster
16 hours ago





How exactly are you copying the file(s) in question between the various file systems?

– David Foerster
16 hours ago













Thanks for the asking. I have used simple copy command. File size is 256 mb with bs of 64K.

– chinmoy ghosh
14 hours ago





Thanks for the asking. I have used simple copy command. File size is 256 mb with bs of 64K.

– chinmoy ghosh
14 hours ago













Could you please edit your post when you want to clarify something or add information? It’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

– David Foerster
13 hours ago





Could you please edit your post when you want to clarify something or add information? It’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks.

– David Foerster
13 hours ago










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局