V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
holinhot
V2EX  ›  FFmpeg

ffmpeg HLS 切片这么耗硬盘 I/O 吗?

  •  
  •   holinhot · 2020-05-22 02:27:55 +08:00 · 2351 次点击
    这是一个创建于 1680 天前的主题,其中的信息可能已经有所发展或是发生改变。

    搞了 3 台机器在切片,i/o 老是告警。(每台两个 ffmpeg 在切)

    磁盘响应时间 https://prnt.sc/sl8yel https://prnt.sc/sl8yho https://prnt.sc/sl8yl0

    磁盘响应时间( iostat ) https://prnt.sc/sl8yqv https://prnt.sc/sl8yvp https://prnt.sc/sl8yzy

    SSD 型号:三星 MZ7LN512

    [Created at block.245]
      Unique ID: 3OOL.FBQqHFuJif1
      Parent ID: abAj.GPRb67Bwnc2
      SysFS ID: /class/block/sda
      SysFS BusID: 1:0:0:0
      SysFS Device Link: /devices/pci0000:00/0000:00:17.0/ata2/host1/target1:0:0/1:0:0:0
      Hardware Class: disk
      Model: "SAMSUNG MZ7LN512"
      Vendor: "SAMSUNG"
      Device: "MZ7LN512"
      Revision: "100Q"
      Serial ID: "S2MHxxxxxx"
      Driver: "ahci", "sd"
      Driver Modules: "ahci"
      Device File: /dev/sda
      Device Files: /dev/sda, /dev/disk/by-id/ata-SAMSUNG_MZ7LN512HMJP-00000_S2MHNB0J300937, /dev/disk/by-id/wwn-0x5002538d41d70d31, /dev/disk/by-path/pci-0000:00:17.0-ata-2.0
      Device Number: block 8:0-8:15
      BIOS id: 0x81
      Geometry (Logical): CHS 62260/255/63
      Size: 1000215216 sectors a 512 bytes
      Capacity: 476 GB (512110190592 bytes)
      Geometry (BIOS EDD): CHS 992277/16/63
      Size (BIOS EDD): 1000215216 sectors
      Geometry (BIOS Legacy): CHS 1023/255/63
      Config Status: cfg=new, avail=yes, need=no, active=unknown
      Attached to: #7 (SATA controller)
    
    beginor
        1
    beginor  
       2020-05-22 08:28:56 +08:00 via Android
    hls 文件很小,完全靠硬盘的 4k 读写
    Twain
        2
    Twain  
       2020-05-22 09:42:50 +08:00
    内存够的话,写内存
    aydd2004
        3
    aydd2004  
       2020-05-22 10:42:41 +08:00
    也不知道谁发明的这玩意 一个视频切成千把块
    holinhot
        4
    holinhot  
    OP
       2020-05-22 13:55:03 +08:00
    @Twain 有道理
    holinhot
        5
    holinhot  
    OP
       2020-05-22 14:50:25 +08:00
    @aydd2004 方便分发
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1054 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 19:56 · PVG 03:56 · LAX 11:56 · JFK 14:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.