From: Ion Badulescu <ionut@moisil.cs.columbia.edu>
To: Pavel Machek <pavel@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: vfat <-> vfat copying of ~700MB file, so slow!
Date: Sat, 27 Jan 2001 21:52:01 -0800 [thread overview]
Message-ID: <200101280552.f0S5q1v05153@moisil.dev.hydraweb.com> (raw)
In-Reply-To: <20010126184137.C260@bug.ucw.cz>
On Fri, 26 Jan 2001 18:41:37 +0100, Pavel Machek <pavel@suse.cz> wrote:
> Hi!
>
>> > Copying between vfat <-> vfat partitions is so slow. It seems
>> > that it's vfat/msdos kernel driver problem because I tried to copy
>>
>> I reported this years ago, with a 700 kB file on a floppy and
>> a 4 MB file on a Zip disk. In both cases mcopy was several times
>> faster than the kernel code.
>
> Perhaps linear scan of FAT?
Maybe. Quite likely, in fact. But there is no reason why fatfs can't
store the current FAT cluster number in struct file's private data,
making seeks, reads and writes O(1) (from O(n)).
You'll have to give up using generic_file_read(), however. So it's
not a trivial change.
Ion
--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2001-01-28 5:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-24 12:14 vfat <-> vfat copying of ~700MB file, so slow! Arkadiusz Miskiewicz
2001-01-24 18:23 ` Brad Felmey
2001-01-24 18:35 ` Arkadiusz Miskiewicz
2001-01-25 18:56 ` Thunder from the hill
2001-01-25 20:28 ` Gábor Lénárt
2001-01-24 21:50 ` Eric Lammerts
2001-01-24 20:53 ` Albert D. Cahalan
2001-01-26 17:41 ` Pavel Machek
2001-01-28 5:52 ` Ion Badulescu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200101280552.f0S5q1v05153@moisil.dev.hydraweb.com \
--to=ionut@moisil.cs.columbia.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox