
Originally Posted by
nickrout
That drive (ie the new one) will have 4k sectors and if your patitions are not aligned properly it WILL have performance issues.
As far as I understand the issue I do have the partition aligned:
Code:
$ sudo fdisk -lu /dev/sdb
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xd8607c12
Device Boot Start End Blocks Id System
/dev/sdb1 2048 3907029167 1953513560 83 Linux
2048*512/4096=256 -> aligned (I think).

Originally Posted by
bbzzdd
Just grasping at straws here but have you tried disabling the WD head parking on that drive?
Yes, I do have the head parking set as least aggressively as possible -- as it can't be entirely disabled -- because I believe the WD20EARS that died leading to the acquisition and installation of this WD20EARX was killed by this very issue. I set the parking timeout to max at boot:
Code:
$ cat /etc/rc.local
/sbin/hdparm -S 242 /dev/sdb
exit 0

Originally Posted by
bbzzdd
...it seems you timeouts are much more dramatic than mine. Mine are < 1000ms and yours are well over.
I pasted in the worst of the worst. I see messages ranging from hundreds of milliseconds up to seconds. The hundreds of milliseconds don't seem to hurt anything. Just glancing through the front end log and picking a few of 12,046 lines containing "PrebufferEnoughFrames" since October 4:
Code:
Oct 15 20:08:06 mythtv mythfrontend[4247]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(7): Waited 102ms for video buffers AAAAAAAAAAAALf
...
Oct 15 20:08:06 mythtv mythfrontend[4247]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(7): Waited 203ms for video buffers AAAAAAAAAAAALf
...
Oct 18 21:20:04 mythtv mythfrontend[4247]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(e): Waited 101ms for video buffers AAAAAAAfAAALAA
...
Oct 22 18:59:56 mythtv mythfrontend[4247]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(h): Waited 1119ms for video buffers AAAfAAAAAAAALf
...
Oct 23 21:39:57 mythtv mythfrontend[4247]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(k): Waited 104ms for video buffers AAAAAAAAAAAAAA
...
Oct 27 20:37:57 mythtv mythfrontend[6554]: N CoreContext mythplayer.cpp:2078 (PrebufferEnoughFrames) Player(0): Waited 3463ms for video buffers AALAAAfAAAAfAA
Incidentally, any idea what the parameter in parenthesis after "Player" is?
Bookmarks