[mythtv-commits] Ticket #10946: Combination Disk Scheduler improperly favors local drive

MythTV noreply at mythtv.org
Sat Jul 28 05:50:20 UTC 2012


#10946: Combination Disk Scheduler improperly favors local drive
-------------------------------------+-------------------------------------
     Reporter:  ylee@…               |      Owner:  danielk
         Type:  Bug Report -         |     Status:  new
  General                            |  Milestone:  unknown
     Priority:  minor                |    Version:  0.24.2
    Component:  MythTV - Recording   |   Keywords:  disk scheduler
     Severity:  medium               |  combination weights
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 I have 16 filesystems in Storage Groups for recordings from my five
 physical tuners; one filesystem is local to the backend, and the others
 are remote and are mounted on the backend by CIFS. I wish to have all 16
 filesystems treated equally when mythbackend chooses which one to use,
 with the only criteria being 1) free space and 2) whether the filesystem
 is being used already. If five recordings begin at once the backend should
 select the five filesystems with the most free space. To achieve this, I
 chose the Combination disk scheduler (In the above scenario Balanced Free
 Space puts all five recordings on the single filesystem with the most free
 space), and manually inserted SGweightLocalStarting = 0 to have the
 backend treat local and remote filesystems equally.

 When I start a single recording, the disk scheduler still favors the local
 filesystem even if a remote one has more free space and the calculated
 weights for all 16 filesystems are equal. (See the attached mythbackend
 log extract with -v none,schedule,file.) My experience matches [http://www
 .gossamer-threads.com/lists/mythtv/users/353445#353445 Jon Larson's report
 from 2008], back when Combination was the only available setting.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10946>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list