I had my swappiness set to 20 with 6.01, but now with 6.03 I am getting some odd behavior. I have tried both the setting of 20 and the default setting of 60 now.
On Mondays, I will have 3 things which begin recording at 7:00 pm. One is SD (30 mins), the other 2 are HD (60 mins each). I will typically watch the SD recording first so that I can skip ahead during the commercials on the longer recordings. But when the 2 HD recordings finish recording, the playback will hesitate or get jerky for less than 30 seconds.
In my mythfrontend.log I will get
Code:
2010-11-22 20:01:33.473 TV: Attempting to change from WatchingRecording to WatchingPreRecorded
2010-11-22 20:01:33.778 TV: Changing from WatchingRecording to WatchingPreRecorded
2010-11-22 20:01:36.747 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:01:36.748 Using runtime prefix = /usr
2010-11-22 20:01:36.748 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:01:36.749 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:01:36.749 Using runtime prefix = /usr
2010-11-22 20:01:36.749 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:01:36.749 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:01:36.750 Using runtime prefix = /usr
2010-11-22 20:01:36.750 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:01:36.750 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:01:36.751 Using runtime prefix = /usr
2010-11-22 20:01:36.751 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:01:36.815 Empty LocalHostName.
2010-11-22 20:01:36.815 Using localhost value of mythtv
2010-11-22 20:01:36.816 Empty LocalHostName.
2010-11-22 20:01:36.816 Using localhost value of mythtv
2010-11-22 20:01:36.816 Empty LocalHostName.
2010-11-22 20:01:36.816 Using localhost value of mythtv
2010-11-22 20:01:36.816 Empty LocalHostName.
2010-11-22 20:01:36.817 Using localhost value of mythtv
2010-11-22 20:01:37.047 New DB connection, total: 1
2010-11-22 20:01:37.048 New DB connection, total: 1
2010-11-22 20:01:37.050 New DB connection, total: 1
2010-11-22 20:01:37.053 New DB connection, total: 1
2010-11-22 20:01:37.091 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.091 Closing DB connection named 'DBManager0'
2010-11-22 20:01:37.092 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.092 Closing DB connection named 'DBManager0'
2010-11-22 20:01:37.092 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.093 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.101 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.101 Closing DB connection named 'DBManager0'
2010-11-22 20:01:37.103 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.115 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:01:37.115 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:01:37.117 ProgramInfo(): Updated pathname '':'' -> '20251_20101122190000.mpg'
2010-11-22 20:01:37.118 ProgramInfo(): Updated pathname '':'' -> '20251_20101122190000.mpg'
2010-11-22 20:01:37.121 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.132 Closing DB connection named 'DBManager0'
2010-11-22 20:01:37.134 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:01:37.123 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:01:37.140 ProgramInfo(): Updated pathname '':'' -> '20251_20101122190000.mpg'
2010-11-22 20:01:37.147 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:01:37.149 ProgramInfo(): Updated pathname '':'' -> '20251_20101122190000.mpg'
2010-11-22 20:01:40.129 AFD: Opened codec 0x98dc640, id(MPEG2VIDEO) type(Video)
2010-11-22 20:01:40.129 AFD: codec AC3 has 2 channels
2010-11-22 20:01:40.129 AFD: Opened codec 0x98ef3b0, id(AC3) type(Audio)
2010-11-22 20:01:40.134 AFD: Opened codec 0x8348540, id(MPEG2VIDEO) type(Video)
2010-11-22 20:01:40.134 AFD: codec AC3 has 2 channels
2010-11-22 20:01:40.135 AFD: Opened codec 0x835b260, id(AC3) type(Audio)
2010-11-22 20:01:40.156 AFD: Opened codec 0x8c91540, id(MPEG2VIDEO) type(Video)
2010-11-22 20:01:40.157 AFD: codec AC3 has 2 channels
2010-11-22 20:01:40.157 AFD: Opened codec 0x8c92eb0, id(AC3) type(Audio)
2010-11-22 20:01:40.161 AFD: Opened codec 0x9d9d540, id(MPEG2VIDEO) type(Video)
2010-11-22 20:01:40.161 AFD: codec AC3 has 2 channels
2010-11-22 20:01:40.162 AFD: Opened codec 0x9d9eeb0, id(AC3) type(Audio)
2010-11-22 20:01:42.390 NVP(4): prebuffering pause
2010-11-22 20:01:44.833 WriteAudio: buffer underrun
2010-11-22 20:01:45.660 NVP(4): Timed out waiting for free video buffers.
2010-11-22 20:01:46.803 NVP(4): prebuffering pause
2010-11-22 20:01:46.804 WriteAudio: buffer underrun
2010-11-22 20:01:48.522 NVP(4): prebuffering pause
2010-11-22 20:01:49.375 NVP(4): prebuffering pause
2010-11-22 20:01:51.965 Preview: Grabbed preview '/myth/tv/20251_20101122190000.mpg' 1920x1088@94s
2010-11-22 20:01:51.965 Preview: Grabbed preview '/myth/tv/20251_20101122190000.mpg' 1920x1088@94s
2010-11-22 20:01:51.986 Preview: Grabbed preview '/myth/tv/20251_20101122190000.mpg' 1920x1088@94s
2010-11-22 20:01:51.994 Preview: Grabbed preview '/myth/tv/20251_20101122190000.mpg' 1920x1088@94s
2010-11-22 20:01:54.026 ~MythContext waiting for threads to exit.
2010-11-22 20:01:54.027 ~MythContext waiting for threads to exit.
2010-11-22 20:01:54.027 ~MythContext waiting for threads to exit.
2010-11-22 20:01:54.035 ~MythContext waiting for threads to exit.
2010-11-22 20:02:34.268 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:02:34.269 Using runtime prefix = /usr
2010-11-22 20:02:34.269 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:02:34.269 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:02:34.270 Using runtime prefix = /usr
2010-11-22 20:02:34.270 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:02:34.270 mythbackend version: branches/release-0-23-fixes [25661M] www.mythtv.org
2010-11-22 20:02:34.271 Using runtime prefix = /usr
2010-11-22 20:02:34.271 Using configuration directory = /home/mythtv/.mythtv
2010-11-22 20:02:34.306 Empty LocalHostName.
2010-11-22 20:02:34.306 Using localhost value of mythtv
2010-11-22 20:02:34.306 Empty LocalHostName.
2010-11-22 20:02:34.306 Using localhost value of mythtv
2010-11-22 20:02:34.307 Empty LocalHostName.
2010-11-22 20:02:34.307 Using localhost value of mythtv
2010-11-22 20:02:34.496 New DB connection, total: 1
2010-11-22 20:02:34.497 New DB connection, total: 1
2010-11-22 20:02:34.498 New DB connection, total: 1
2010-11-22 20:02:34.561 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:02:34.561 Closing DB connection named 'DBManager0'
2010-11-22 20:02:34.562 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:02:34.563 Closing DB connection named 'DBManager0'
2010-11-22 20:02:34.563 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:02:34.565 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:02:34.565 Closing DB connection named 'DBManager0'
2010-11-22 20:02:34.585 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:02:34.586 Connected to database 'mythconverg' at host: 192.168.1.210
2010-11-22 20:02:34.602 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:02:34.605 ProgramInfo(): Updated pathname '':'' -> '20431_20101122190000.mpg'
2010-11-22 20:02:34.607 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:02:34.609 ProgramInfo(): Updated pathname '':'' -> '20431_20101122190000.mpg'
2010-11-22 20:02:34.615 Current MythTV Schema Version (DBSchemaVer): 1254
2010-11-22 20:02:34.617 ProgramInfo(): Updated pathname '':'' -> '20431_20101122190000.mpg'
2010-11-22 20:02:37.430 AFD: Opened codec 0x97af5b0, id(MPEG2VIDEO) type(Video)
2010-11-22 20:02:37.430 AFD: codec AC3 has 2 channels
2010-11-22 20:02:37.432 AFD: Opened codec 0x97c2220, id(AC3) type(Audio)
2010-11-22 20:02:37.432 AFD: Opened codec 0xa15e500, id(MPEG2VIDEO) type(Video)
2010-11-22 20:02:37.432 AFD: codec AC3 has 2 channels
2010-11-22 20:02:37.433 AFD: Opened codec 0xa171220, id(AC3) type(Audio)
2010-11-22 20:02:37.435 AFD: Opened codec 0xa060270, id(MPEG2VIDEO) type(Video)
2010-11-22 20:02:37.436 AFD: codec AC3 has 2 channels
2010-11-22 20:02:37.437 AFD: Opened codec 0xa072f90, id(AC3) type(Audio)
2010-11-22 20:02:39.299 Preview: Grabbed preview '/myth/tv/20431_20101122190000.mpg' 1280x720@94s
2010-11-22 20:02:39.311 Preview: Grabbed preview '/myth/tv/20431_20101122190000.mpg' 1280x720@94s
2010-11-22 20:02:39.405 Preview: Grabbed preview '/myth/tv/20431_20101122190000.mpg' 1280x720@94s
2010-11-22 20:02:39.561 ~MythContext waiting for threads to exit.
2010-11-22 20:02:39.566 ~MythContext waiting for threads to exit.
2010-11-22 20:02:39.628 ~MythContext waiting for threads to exit.
While some of this seems unusual, I am posting it in this thread, because if I look at the rrd chart, the swap seems to jump from about 8% to 35% at the same time (with swappiness @ 60). When swappiness was set to 20 it would usually begin at 0% and maybe jump to around 30%. My swap is set to 1GB, so that 27% jump is over 250MB swapping out immediately. When swappiness was set to 20, I thought maybe it was waiting too long to swap and then swapping a bunch all at once, so I switched to the default 60, but I just saw it happen again. If I drop swappiness even more, might that "fix" it, or is there some other underlying problem?