Changes between Version 5 and Version 6 of RRDaccelerator

Jun 23, 2008, 11:59:38 AM (15 years ago)

improved intro


  • RRDaccelerator

    v5 v6  
    33== Problem ==
    5 The rrd data format is quite efficient when it comes to minimize the amount of data that has to be written to disk for a single update. Big installations feature many rrd files. With this the OS is not able to cache everything anymore and updating 60'000 rrd files can become incredibly slow. Writing the same amount of data into 10 files would be incredibly fast.
     5The rrd data format, in theory is quite efficient when it comes to minimize the amount of data that has to be written for a single update. While a single update writes as little as 32 Bytes of data, it will cause the OS update 2-3 disk blocks. And updatein a diskblock means reading (at least) 512 Bytes of data, updating the block and writing it back to disk. If the block is already cached, the reading bit will be skipped, makeing things quite a bit faster. This is why optimal cache management helps so much in speeding up rrdtool. On the other hand, that 512 Byte write does not go away. So if there was a way to bundle up several updates to a single rrd file, this would give us much better performance since still only that 512 Bytes block would have to be written to disk.
    77== Solution ==
    1313 * memory is full
    1414 * we receive a flush command
    15  * rrdgraph needs the rrd file
     15 * some rrdtool function other than rrdupdate wants to read from the rrd file
    1717== Implementation ==

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.