mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Phillip Susi <psusi@cfl.rr.com>
Cc: Gene Heskett <gene.heskett@gmail.com>,
	Stefan Richter <stefanr@s5r6.in-berlin.de>,
	linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>
Subject: Re: floppy question of the hour
Date: Wed, 28 May 2008 09:42:57 -0400	[thread overview]
Message-ID: <20080528134257.GA16164@csclub.uwaterloo.ca> (raw)
In-Reply-To: <483C81DE.8060002@cfl.rr.com>

On Tue, May 27, 2008 at 05:49:18PM -0400, Phillip Susi wrote:
> Yes, the interleave slows you down, since after accessing sector 1, the 
> head must wait to pass over 3 other sectors before finally reaching 
> sector 2, therefore, you can only read 1/4 of the sectors on the track 
> each revolution of the disk.  That leaves 4 revolutions at 300 rpm 
> giving 0.8s to read a track, or 64 seconds to read all 80 tracks, plus 
> seek time.  That still does not explain 3 minutes though... not sure 
> what else could be slowing you down.

Just do what the Amiga did:  Read the entire track into a buffer in
memory, then deal with the sectors, and write the entire track back. :)

-- 
Len Sorensen

  parent reply	other threads:[~2008-05-28 13:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-24  1:14 Gene Heskett
2008-05-24  9:28 ` Stefan Richter
2008-05-24 12:52   ` Gene Heskett
2008-05-27 21:49     ` Phillip Susi
2008-05-27 22:26       ` Gene Heskett
2008-06-01 19:00         ` Jan Engelhardt
2008-06-02  0:50           ` Gene Heskett
2008-06-02 10:28           ` Kay Sievers
2008-05-28 13:42       ` Lennart Sorensen [this message]
2008-05-28 19:38         ` Phillip Susi
2008-05-28 19:59           ` Lennart Sorensen
2008-05-28 21:58             ` Gene Heskett
2008-05-28 21:50           ` Gene Heskett
2008-05-28 21:46         ` Gene Heskett

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=20080528134257.GA16164@csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=axboe@kernel.dk \
    --cc=gene.heskett@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=psusi@cfl.rr.com \
    --cc=stefanr@s5r6.in-berlin.de \
    /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

all inboxes | Powered by JetHome®