Announcement

Collapse

Forum etiquette

Our mission ...

This forum is part of our mission to promote the preservation of vintage computers through education and outreach. (In real life we also run events and have a museum.) We encourage you to join us, participate, share your knowledge, and enjoy.

This forum has been around in this format for over 15 years. These rules and guidelines help us maintain a healthy and active community, and we moderate the forum to keep things on track. Please familiarize yourself with these rules and guidelines.


Remain civil and respectful

There are several hundred people who actively participate here. People come from all different backgrounds and will have different ways of seeing things. You will not agree with everything you read here. Back-and-forth discussions are fine but do not cross the line into rude or disrespectful behavior.

Conduct yourself as you would at any other place where people come together in person to discuss their hobby. If you wouldn't say something to somebody in person, then you probably should not be writing it here.

This should be obvious but, just in case: profanity, threats, slurs against any group (sexual, racial, gender, etc.) will not be tolerated.


Stay close to the original topic being discussed
  • If you are starting a new thread choose a reasonable sub-forum to start your thread. (If you choose incorrectly don't worry, we can fix that.)
  • If you are responding to a thread, stay on topic - the original poster was trying to achieve something. You can always start a new thread instead of potentially "hijacking" an existing thread.



Contribute something meaningful

To put things in engineering terms, we value a high signal to noise ratio. Coming here should not be a waste of time.
  • This is not a chat room. If you are taking less than 30 seconds to make a post then you are probably doing something wrong. A post should be on topic, clear, and contribute something meaningful to the discussion. If people read your posts and feel that their time as been wasted, they will stop reading your posts. Worse yet, they will stop visiting and we'll lose their experience and contributions.
  • Do not bump threads.
  • Do not "necro-post" unless you are following up to a specific person on a specific thread. And even then, that person may have moved on. Just start a new thread for your related topic.
  • Use the Private Message system for posts that are targeted at a specific person.


"PM Sent!" messages (or, how to use the Private Message system)

This forum has a private message feature that we want people to use for messages that are not of general interest to other members.

In short, if you are going to reply to a thread and that reply is targeted to a specific individual and not of interest to anybody else (either now or in the future) then send a private message instead.

Here are some obvious examples of when you should not reply to a thread and use the PM system instead:
  • "PM Sent!": Do not tell the rest of us that you sent a PM ... the forum software will tell the other person that they have a PM waiting.
  • "How much is shipping to ....": This is a very specific and directed question that is not of interest to anybody else.


Why do we have this policy? Sending a "PM Sent!" type message basically wastes everybody else's time by making them having to scroll past a post in a thread that looks to be updated, when the update is not meaningful. And the person you are sending the PM to will be notified by the forum software that they have a message waiting for them. Look up at the top near the right edge where it says 'Notifications' ... if you have a PM waiting, it will tell you there.

Copyright and other legal issues

We are here to discuss vintage computing, so discussing software, books, and other intellectual property that is on-topic is fine. We don't want people using these forums to discuss or enable copyright violations or other things that are against the law; whether you agree with the law or not is irrelevant. Do not use our resources for something that is legally or morally questionable.

Our discussions here generally fall under "fair use." Telling people how to pirate a software title is an example of something that is not allowable here.


Reporting problematic posts

If you see spam, a wildly off-topic post, or something abusive or illegal please report the thread by clicking on the "Report Post" icon. (It looks like an exclamation point in a triangle and it is available under every post.) This send a notification to all of the moderators, so somebody will see it and deal with it.

If you are unsure you may consider sending a private message to a moderator instead.


New user moderation

New users are directly moderated so that we can weed spammers out early. This means that for your first 10 posts you will have some delay before they are seen. We understand this can be disruptive to the flow of conversation and we try to keep up with our new user moderation duties to avoid undue inconvenience. Please do not make duplicate posts, extra posts to bump your post count, or ask the moderators to expedite this process; 10 moderated posts will go by quickly.

New users also have a smaller personal message inbox limit and are rate limited when sending PMs to other users.


Other suggestions
  • Use Google, books, or other definitive sources. There is a lot of information out there.
  • Don't make people guess at what you are trying to say; we are not mind readers. Be clear and concise.
  • Spelling and grammar are not rated, but they do make a post easier to read.
See more
See less

importance of HDD interleave!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    importance of HDD interleave!

    i don't know whether or not most of you guys pay attention to interleave values when low-level formatting your old MFM/RLL hard drives, but for those that don't, or don't know what it is, i want to stress it's importance as i was reminded myself here tonight.

    i got a new 5160 delivered to me today, and the hard drive works fine - a 30 MB seagate RLL half-height. the first thing i did was load spinrite II and run a drive analysis. it was formatted with the default interleave of 3:1, and it was measured to transfer data at a rate of 28 KB/s.

    it tested the transfer speeds using all possible interleave values, and it turned out that using an interleave of 4:1, it was able to pull off - get this....

    199 KB/s

    yes, that's right 199 KB/s raw hard disk transfer rate on a 4.77 MHz XT box. needless to say, i decided to just wipe the drive then. i didn't need the last owner's stuff. did a full LLF using the 4:1 interleave, installed MS-DOS 5.0 and wow! this thing is rocking!

    i suggest all of you go run spinrite II on your old boxen with similar drives and pay attention to the interleave test results. you might just be amazed at how much faster you can get your drive going. i did the same thing on another old 20 MB MFM drive (an Everex) and while it wasn't quite as drastic, i was able to kick it up to 90 KB/s from 27 KB/s.

    just think of this as a public service announcement.
    sigpic

    #2
    The problem with these numbers is that it doesn't take into account how and by what the data is being used. If you're just searching a directory, the interleave can be about as low as possible (before losing disk revs due to not being about to get the next sector read). On the other hand, an application that issues a request a bit too late to catch the next sector, drops to one rev per sector/cluster transferred.

    One of the schemes for squeezing performance out of the system is to format a hard drive in several different interleaves according to need.

    Of course, if you have the resources or hard drive to perform caching, all of this is pretty much academic.

    Comment


      #3
      I have a utility called "PCcheck", which (non-destructively) tests the hard drive interleave all the way from 12:1 down to 1:1, and then tells you which interleave offers the best performance.

      Some aftermarket XT controllers can do 3:1, but most are only good for 4:1. I believe the original IBM XT 10-megabyte drive and controller specified 6:1 interleave, but the hardware is said to work fine at 5:1.

      Comment


        #4
        Originally posted by Chuck(G) View Post
        The problem with these numbers is that it doesn't take into account how and by what the data is being used. If you're just searching a directory, the interleave can be about as low as possible (before losing disk revs due to not being about to get the next sector read). On the other hand, an application that issues a request a bit too late to catch the next sector, drops to one rev per sector/cluster transferred.

        One of the schemes for squeezing performance out of the system is to format a hard drive in several different interleaves according to need.

        Of course, if you have the resources or hard drive to perform caching, all of this is pretty much academic.
        i know, like i said that's just the pure, raw transfer speed. no data processing involved. where i've really noticed a huge difference is in application loading times from entering the command to having the program running. it's incredibly snappy, and a huge improvement over before i re-formatted. i certainly haven't noticed anything else running any slower.

        my FTP downloads are twice as fast now as well, which would be expected. i'm getting roughly 65-75 KB/s through mbbrutman's FTP client, when before it was under 30 KB/s. of course, the ethernet card interfacing is going to keep it from going any faster.
        sigpic

        Comment


          #5
          Since we are dealing with old hardware does this affect long term durability?

          Id give up some performance if I can cut down on wear and tear.

          Comment


            #6
            Originally posted by Klee View Post
            Since we are dealing with old hardware does this affect long term durability?

            Id give up some performance if I can cut down on wear and tear.
            no, not at all. everything mechanically works the same. the data is just arranged differently on the disk tracks. the platters and head armature movement speeds aren't changed.
            sigpic

            Comment


              #7
              Hi
              I have to point out what Chuck said again.
              Although, I was doing this on a H89 floppy disk, the principle are the same.
              It was using BASIC to read an write data records. I found that reading
              data had more delay than writing data. This meant the the interleave
              for one was different than the other.
              The fellow I was fixing this for was concerned with load time so I optimized
              for reading data. It still was faster for writing than the default ( 1:1 ) but
              it was so much faster loading that the fellow thought it must be missing
              something. Of course, it wasn't.
              The interleave I left him with was slightly slower for programs like TYPE.
              The application can completely change the results, one can be faster and
              the next can be slower. It is difficult to predict without running the experiment.
              There is no single best interleaving.
              Dwight

              Comment


                #8
                Originally posted by Dwight Elvey View Post
                ...I found that reading data had more delay than writing data. This meant the the interleave for one was different than the other...
                ??? Did you perhaps mean that the optimum interleave was different?

                Comment


                  #9
                  Originally posted by vwestlife View Post
                  I have a utility called "PCcheck", which (non-destructively) tests the hard drive interleave all the way from 12:1 down to 1:1, and then tells you which interleave offers the best performance.

                  Some aftermarket XT controllers can do 3:1, but most are only good for 4:1. I believe the original IBM XT 10-megabyte drive and controller specified 6:1 interleave, but the hardware is said to work fine at 5:1.

                  And where can other people find this util?
                  (I've got a tandy 1000sx that is dog slow).

                  Thanks,
                  later,
                  dabone

                  Comment


                    #10
                    Originally posted by dabone View Post
                    And where can other people find this util?
                    You can purchase the full version from Eurosoft, but here is a free demo version. Not all features are available, but the interleave verification does work:

                    http://mysite.verizon.net/tekel/pccheck.zip

                    Comment


                      #11
                      Originally posted by vwestlife View Post
                      You can purchase the full version from Eurosoft, but here is a free demo version. Not all features are available, but the interleave verification does work:

                      http://mysite.verizon.net/tekel/pccheck.zip
                      i've been using a newer version of pccheck for years to diag hardware problems in clients' computers when i suspect them. i have a nice script that does all kinds of good automated stuff. it's an excellent program.
                      sigpic

                      Comment


                        #12
                        RLL drives always saw more of a boost -- often and incredible boost if you got the interleave correct. I remember back in the day using the original release of spinrite, and having two near identical XT clones give radically different boosts just because one had a single 40 meg ST251, which maxed out around 96k/sec, and the other had a pair of 30 gig ST238's which maxed out at over 200k/sec...

                        Though a lot of the speed also came from the right mix of drive and controller... ESPECIALLY the controller. The WDXT-GEN2 on a ST238 for example could run all the way up to the theoretical max RLL interface throughput of 232K/sec -- the stock ST-11R that was sold as a package deal with the ST-238 direct from Seagate you were lucky if it breaks 40K/sec even after tuning the interleave.

                        A LOT of that also hinged on the ROM bios on the card. Seagate's disk ROM sucked -- WD drives sucked -- which is why everyone bought WD cards with Seagate drives --- and it's why half the XT and XT clones you open up usually have a WD controller mated to a ST225, ST251 or ST238.
                        Last edited by deathshadow; January 6, 2011, 07:15 PM.
                        From time to time the accessibility of a website must be refreshed with the blood of owners and designers. It is its natural manure.
                        CUTCODEDOWN.COM

                        Comment


                          #13
                          I found an old copy of coretest, and it says I'm getting 230k. It's a ST351AX drive connected to a ST05x controller. I just thought it was slow.. boy has time glazed over how bad the old days were.

                          Now I have solid state drives for my amigas, c128, vic 20, and coco2 and 3. I have floppy drives but never take them out boxes anymore.

                          Hopefully I'll see next week what the XT-IDE+CF Card can do.

                          Later,
                          dabone

                          Comment


                            #14
                            Again, with my original post--it depends on the application and the hardware.

                            If you're using hardware than has read-ahead/write-behind caching, interleave hardly matters. In particular modern drives with their big on-drive caches make the subject of interleave a non-starter.

                            However, if you're using a non-caching controller, drive or driver (Actually, I bristle a bit at the talk of an IDE "controller", which is, after all, only a bus interface), interleave is important. And "optimum interleave" is highly dependent on the application. Let's take an MFM drive interleaved, for argument's sake at 2:1. So, for 17 sectors, the track layout will look like:

                            1,10,2,11,3,12,4,13,5,14,6,15,7,16,8,17,9

                            Now, this is fine if your application, after reading sector 1, can issue a request in time to catch sector 2. But if it can't, it's going to have to wait for an entire revolution until sector 2 comes around again. So your app will perform worse than if the interleave had been set for 3:1, 4:1 or even 5:1.

                            But since most applications do things in a sequence of "read...process data...read some more", that "optimum interleave" meaning "if I issue reads like there were no tomorrow, what's the minimum interleave before I start to have to wait a rev for things to come around?" is hardly optimum for most applications.

                            I used to set hard disks up so that the tracks containing the directory and FAT were set up with the "minimum crazy interleave" (on an XT, 2:1 or 3:1, depending on controller latency) and all others were set up with an interleave one greater (3:1 or 4:1). Often the difference in performance was substantial.

                            You can see the same thing in some CP/M and ISIS floppies--the boot tracks are sometimes set up for 1:1 or 2:1 interleave, while the remaining tracks are set up for something greater than that. I've also seen CP/M floppies set up with three interleaves--one for the boot track, another for the directory and still another for the application data area.

                            Comment


                              #15
                              good idea on formatting the different tracks with different interleaves - i might actually try that out this weekend.
                              sigpic

                              Comment

                              Working...
                              X