Is there a hard setting somewhere regarding the system RAM? I assumed
that rumprun would automatically detect the RAM configuration from
qemu correctly but I notice that the amount of RAM reported is
considerably less than the one configured in qemu command-line
options.

Notice below that 256 MB is configured in qemu, while just 123 MB is
reported in console log. Is there something which I am missing here?

command-line snippet:
------------------------------

  rumprun "$virt" \
     -I if,vioif,'-net tap,script=no,ifname=tap1' \
     -W if,inet,static,"$ip/24","$gw" \
     -e ERL_INETRC="$erlpath/erl_inetrc" \
     -b images/erlang.iso,"$erlpath" \
     -b examples/app.iso,"$erlapp_path" \
     -M 256 \
     -g '-serial file:/tmp/erlrun2-serial.log -nographic -vga none' \
...

console log:
----------------
rump kernel bare metal bootstrap

WARNING: Processor claims to not support invariant TSC.
x86_initclocks(): TSC frequency estimate is 3093995140 Hz
x86_initclocks(): Using TSC for timekeeping
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.29 (RUMP-ROAST)
total memory = 123 MB
...

-Neeraj

Reply via email to