Opened 12 years ago
Closed 12 years ago
Last modified 12 years ago
#10946 closed Bug Report - General (fixed)
Combination Disk Scheduler improperly favors local drive
Reported by: | Owned by: | cpinkham | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - Recording | Version: | 0.24.2 |
Severity: | medium | Keywords: | disk scheduler combination weights |
Cc: | Ticket locked: | no |
Description
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 Jon Larson's report from 2008, back when Combination was the only available setting.
Attachments (2)
Change History (5)
Changed 12 years ago by
Attachment: | mythbackendextract.log added |
---|
comment:1 Changed 12 years ago by
Owner: | changed from danielk to cpinkham |
---|---|
Status: | new → assigned |
Changed 12 years ago by
Attachment: | patch-10946.diff added |
---|
Patch for 0.25. It alters the balanced I/O disk scheduler to use absolute free space as a tiebreaker if, and only if, weights are equal.
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 12 years ago by
Milestone: | unknown → 0.27 |
---|
mythbackend.log extract with -v none,file,record