[rrd-users] filesize using 32-bit vs. 64-bit

Tobias Oetiker tobi at oetiker.ch
Sun Nov 4 01:38:22 CET 2007


Hi Ulf,

the file size difference comes from the padding differences between
32 and 64 bit ... once I introduce the cross platform file format,
all architectures will take the same (manybe slightly bigger) size.

cheers
tobi

Yesterday Ulf Zimmermann wrote:

> No, here is an example:
>
> 296 -rw-r--r--   1 root root 296728 Nov  1 12:00 cpu-idle.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58 cpu-idle.rrd.x86_64
> 296 -rw-r--r--   1 root root 296728 Nov  1 12:00 cpu-interrupt.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58
> cpu-interrupt.rrd.x86_64
> 296 -rw-r--r--   1 root root 296728 Nov  1 12:00 cpu-nice.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58 cpu-nice.rrd.x86_64
> 296 -rw-r--r--   1 root root 296728 Nov  1 11:59 cpu-softirq.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58 cpu-softirq.rrd.x86_64
> 296 -rw-r--r--   1 root root 296728 Nov  1 12:00 cpu-system.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58 cpu-system.rrd.x86_64
> 296 -rw-r--r--   1 root root 296728 Nov  1 11:59 cpu-user.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58 cpu-user.rrd.x86_64
> 296 -rw-r--r--   1 root root 296728 Nov  1 11:59 cpu-wait.rrd
> 296 -rw-r--r--   1 root root 296944 Nov  1 11:58 cpu-wait.rrd.x86_64
>
> The rrd.x86_64 files were what I just had on our RedHat EL4 x86_64
> machines. I converted them to i386. Filesize is not much different.
>
> > -----Original Message-----
> > From: rrd-users-bounces at lists.oetiker.ch [mailto:rrd-users-
> > bounces at lists.oetiker.ch] On Behalf Of Michael Renner
> > Sent: Saturday, November 03, 2007 09:10
> > To: rrd-users at lists.oetiker.ch
> > Subject: [rrd-users] filesize using 32-bit vs. 64-bit
> >
> > Moin,
> >
> > just for curiosity: does a rrd file made with a 64-bit perl wil have
> the
> > double size of one made using a 32-bit perl?
> >
> > Thanks
> > --
> > |Michael Renner      E-mail: michael.renner at gmx.de  |
> > |D-81541 Munich      Germany        ICQ: #112280325 |
> > |Germany             Don't drink as root!      ESC:wq
> >
> > _______________________________________________
> > rrd-users mailing list
> > rrd-users at lists.oetiker.ch
> > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-users mailing list