I´ve made some tests during the last days with my uno4kse box to found out the reason for poor HDD performance during recording movies, cutting movies and moving movies to other NAS systems
I´ve deinstalled the EMC for the tests and used the internal movielist to have no interdependeny with EMC.
I use a very old small EMC v1.1.0 which uses the MovieCut plugin for cutting, uses linux mv command for moving and uses the normal movieplayer for watching movies. My wife an I like that plugin because it uses different ICONs for local and remote recordings (a remote box makes a record on the hdd in the local box). It marks movies which are in moving to other locations. I marks movies which are running MovieCut.
But for the firsts test the EMC is not involved.
My tests consists of 12 parallel recordings, a parallel job of moviecut for existing movies and a parallel moving job for moving movie to a NAS system. The hdd was half full (1TB from 2TB)
It doesn´t matter if I use openpli 6.1 or VTI 13.x with a newer kernel. When I make all this things with the internal 2TB hdd I ´ve interrupts inside the recorded movies and the cutting and moving performance is very bad..
In parallel I run a small shell script to see how many MByte the hdd can write during that test.
while true
do
df -m /dev/sda1
sleep 1
done
I see by using the internal hdd sometimes 30-40Mbyte/s write performance but sometime the hdd writes only 3-10 MByte/s. (rember the HDD must also read movie files)
The reaction rate of the enigma GUI during the tests is very poor.
I uses also the VTI image with the hdd which I ´ve formated with openpli and 256K cluster.
I can´t see any performance advantage by using VTI .
After that I´ve formated the HDD with VTI, they don´t use the big alloc. They use normal 4K blocks. But the test results are nearly the same.The performance is poor and the recorded movies have interrupts.
After that I go back to openpli 6.1 and run the test with the 4K block HDD. But also the performance was poor
Then I switched the hdd setup and used a USB 3.0 external HDD (2TB Samsung HD204UI (3,5 inch) inside a seagate housing)
The test result was interesting. The performance with the external hdd was much better. I haven´t seen interrupt in the movies and the cutting and moving performance was much higher as with the internal HDD. The write performance was between 30-70 Mbyte/s and I can´t see any stalled situation.
I´v the feeling that the driver for the internal SATA interface stalled sometimes and the result is a bad I/O performance. An other reason for that can be the different hdd performance, but I think that is not the reason because both HDDs are 5400er 2TB drives. I´will test that in some days with a external 2,5 inch housing for the 2,5 hdd.
After all tests I´ve installed the old EMC on the openpli 6.1 and now the performance with the external drive is ok and much better than with the internal hdd. So the old EMC is not the reason for the bad performance.
In some days when I´ll make tests with the external 2,5inch HDD I will have a clear picture if the SATA driver or the hdd causes the performance problem
Who has written the driver for the SATA interface inside the BCM7252S. The VU+ team or came it from the open source community?