Log in

View Full Version : Possible speedup on rejig by using two HDs ?


NanoBot
17th December 2003, 00:41
Hi Folks,

I would like to suggest a feature to future versions of rejig. My idea ist that rejig could work much faster whenever the user has two or more different physical harddrives ( not partitions ).

Imagine the first HD connected to the first IDE controller, the second HD connected to the second IDE controller and the DVD-Rom also on the second IDE controller. Under this circumstances the fastest way to rejig a DVD should be:

Demultiplex from the DVD to the first HD, which avoids the master/slave problem.

Correcting the AC3 delay of the audio streams and the compression of the video stream then should be done by reading from the first HD and writing to the second HD. If there are any subtitle streams and an operation on them is necessary, it should also be done this way. If no operation on them is needed ( i don't know ), they are are simply to be copied to the second HD. After all of this is done, all ES files on the first HD already could be erased to conserve HD space.

The next step then is to multiplex the VOBs by reading from the second HD and writing the result to the first HD, while splitting to 1GB parts might be done on the fly, if this is possible.

Using such a disk allocation strategie imho should be much faster and might also be the better solution for the lifetime of the HDs, since much less head movements are necessary. At least I remember that muxxing my SVCDs with BBMPEG was much faster when using different drives for source und target files.


What do you think about that idea ?


C.U. NanoBot

bit-wise
17th December 2003, 03:54
I use this concept all the time for all the tools.

IDE1: Master HDD1
IDE2: Master DVD, Slave HDD2

Rip from DVD to HDD1. First round of processing (demux, remove streams, VOB Ids, whatever) reads rip located on HDD1 to slave on IDE2. Then second round of processing reads the processed VOBs from HDD2 and writes them back to HDD1. And keep toggling between the drives...

Reduces the amount of drive head movement between reads and writes.

Or go SCSI/RAID, which I think has better performance for multiple devices, and support for more controllers. But someone here probably knows more about the subtleties of these drives than I...

bit-wise
CD13
80FC
9090

JvD
17th December 2003, 08:38
Im sure its allready in Nics to-do-list (since I made the suggestion some days ago). If you read the thread through your question would have been answered (page 2). There will be some kind of "Advanced option" to do this kind of manual configuration.
And YES, its ALLWAYS faster to use separate disks för read and write.

OvERaCiD23
17th December 2003, 18:09
For less of a headache, buy a PCI IDE controller that supports RAID 0 (no need for redundancy for data that is temporary). Your OS will see it as one logical drive, and you don't have to worry about switching up with drive letters while working. E:\ to E:\ , f*** E:\ to F:\ to E:\ to F:\ again. I've done this and it offers the same performance (if not better) than when I had the two drives working independently. Of course, all of these are on their own IDE channel which ensures maximum performance from it all (4 IDE devices, 4 IDE channels).

JustinH
17th December 2003, 20:42
sell all your ide stuff, and get two serial ata drives in raid 0, and welcome to 2003.

JH

OvERaCiD23
17th December 2003, 22:50
Originally posted by JustinH
sell all your ide stuff, and get two serial ata drives in raid 0, and welcome to 2003.

JH

Ahh, if only I had money laying around. IDE RAID 0 will work for now.

Kedirekin
18th December 2003, 01:17
Just curious. Is serial ATA becoming the standard for new PCs?

JvD
18th December 2003, 08:41
Yeas, RAID is the optimal BUT if U have two disks in RAID0 It wont get any faster than if U got one separate disk for reading and one for writing. Yeas, it write and read at appr twice the speed BUT than again it cant do it at the same time. I havent seen ore done any tests but that is my "theory". I run two Raptors on deparate channels, so the two can do separate things at the same time.

JustinH
18th December 2003, 21:38
Well, it won't be the new standard for a while. I can't see IDE being phased out as of yet. But more and more motherboards have SATA onboard, and the SATA drives are getting bigger and bigger and faster and faster.

Originally posted by Kedirekin
Just curious. Is serial ATA becoming the standard for new PCs?