Subject: bin/37417: newfs_msdos is terribly slow when writing to an external disk
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <rillig@NetBSD.org>
List: netbsd-bugs
Date: 11/21/2007 11:00:01
>Number:         37417
>Category:       bin
>Synopsis:       newfs_msdos is terribly slow when writing to an external disk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 21 11:00:00 +0000 2007
>Originator:     Roland Illig
>Release:        NetBSD 4.99.30
>Organization:
>Environment:
NetBSD bacc.roland-illig.de 4.99.30 NetBSD 4.99.30 (GENERIC) #2: Fri Aug 31 20:40:16 CEST 2007  build@bacc.roland-illig.de:/home/scratch/build/NetBSD/2007-08/work/sys/arch/i386/compile/GENERIC i386
>Description:
I am running "newfs_msdos /dev/sd0e" for a 250 GB partition on an external USB disk. Looking at the code, it seems to me as if each sector is written by itself, while it would probably be much faster to buffer them and write them in blocks of, say, 64 kB, instead of 512b.

>How-To-Repeat:

>Fix: