IO Graph

Discussion in 'Proxmox VE: Installation and configuration' started by tincboy, Oct 5, 2011.

  1. tincboy

    tincboy Member

    Joined:
    Apr 13, 2010
    Messages:
    421
    Likes Received:
    2
    I can see there's IO graph for each vm,
    How does Proxmox calculate each VMs IO activity?
    Does Proxmox create a lvm for each VM?
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,433
    Likes Received:
    300
    see /proc/$pid/io

    no
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tincboy

    tincboy Member

    Joined:
    Apr 13, 2010
    Messages:
    421
    Likes Received:
    2
    Thanks dietmar,
    As every time a VM starts, it's pid change, how does you keep track of it's IO statistics while a VM can stop every moment?
     
  4. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,433
    Likes Received:
    300
    We use rrd database to store time series.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. tincboy

    tincboy Member

    Joined:
    Apr 13, 2010
    Messages:
    421
    Likes Received:
    2
    Thanks for your kind response,
    Would you please guide me a little bit more?
    What do you mean by store time series? Do you query save VM's total read/write on a fixed period and save them in db?
     
  6. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,433
    Likes Received:
    300
    Please read the documentation at http://oss.oetiker.ch/rrdtool/

    Basically I store total read/write with a timestamp, the rest is done by the rrdtool.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice