On Mon, Apr 01, 2013 at 08:44:28PM +0100, Alex Bradbury wrote: > On 1 April 2013 19:21, Graydon Hoare <[email protected]> wrote: > > I don't know what's going on in your case. When I run this exercise on > > my machine I get the following: > > > > 1.5 MiB + 720.0 KiB = 2.2 MiB hello (5) > > > > which looks like about what I'd expect; rust's still a bit big there > > (some of the segments in libcore are probably still too big) but it is > > not miles off base. Further scrutiny of the /proc/<pid>/maps and smaps > > file show similar numbers. Can you look in a little more detail and try > > to find where the numbers are coming from? > > I've recompiled hellos.rs, re-run the test and get the same results. > This is with the rust 0.6 rc tarball (from > https://mail.mozilla.org/pipermail/rust-dev/2013-March/003402.html), > compiled and installed with ./configure && make && make install. What > would you recommend I use to investigate (may have a to wait a few > days, as I'm going away tomorrow). massif? > > Thanks for taking a look,
I can also reproduce this: rust single process: 2.3 MiB + 95.5 KiB = 2.4 MiB hello rust multiple processes: 8.8 MiB + 852.5 KiB = 9.6 MiB hello (5) c single process: 84.0 KiB + 11.0 KiB = 95.0 KiB hello c multiple processes: 400.0 KiB + 55.0 KiB = 455.0 KiB hello (5) go single process: 920.0 KiB + 4.0 KiB = 924.0 KiB hello go multiple processes: 2.0 MiB + 525.0 KiB = 2.5 MiB hello (5) I'll see if I can dig up some more information this evening. -doy _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
