Rrdtool fetch performance difference between Linux and Freebsd
Tugrul Erdogan <[email protected]> Fri, 12 Sep 2014 09:28:03 +0300
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <CA+whn7TXLs147G1paevEHQpfnTLSXZCcx9KsRJo37=GE1STWkQ@mail.gmail.com> |
--===============5011002565158788985== Content-Type: multipart/alternative; boundary=001a11340f1226d6800502d8634d --001a11340f1226d6800502d8634d Content-Type: text/plain; charset=UTF-8 Hi, I am porting a project which is developed and used on FreeBSD 10 to Linux. After porting rrdtool funuctionalities, I realized that periodic "rrdtool fetch" calls on CentOS 7 spends two times more time than on FreeBSD. The rrdtool version on FreeBSD is 1.4.7 and on Linux 1.4.8 . To examine the situation more deeply, I have transfer same rrd file to FreeBSD and I have write a bash script which reports start and end times of 500 "rrdtool fetch" call with same parameters on same rrd file. The results show that "rrdtool fetch" call on Linux is two times slower than "rrdtool fetch" call on Linux. What can be the cause of this performance decreasing? How can I improve the perfomance of "rrdtool fetch" call on Linux to make it as fast as FreeBSD "rrdtool fetch" call performance? --001a11340f1226d6800502d8634d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>I am porting a project which is dev= eloped and used on FreeBSD 10 to Linux. After porting rrdtool funuctionalit= ies, I realized that periodic "rrdtool fetch" calls on CentOS 7 s= pends two times more time than on FreeBSD. The rrdtool version on FreeBSD i= s 1.4.7 and on Linux 1.4.8 .=C2=A0</div><div><br></div><div>To=C2=A0examine= =C2=A0the situation more deeply, I have transfer same rrd file to FreeBSD a= nd I have write a bash script which reports start and end times of 500 &quo= t;rrdtool fetch" call with same parameters on same rrd file. The resul= ts show that "rrdtool fetch" call on Linux is two times slower th= an "rrdtool fetch" call on Linux.</div><div><br></div><div>What c= an be the cause of this performance decreasing? How can I improve the perfo= mance of "rrdtool fetch" call on Linux to make it as fast as Free= BSD "rrdtool fetch" call performance?</div></div> --001a11340f1226d6800502d8634d-- --===============5011002565158788985== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers --===============5011002565158788985==--