• Leigh Stoller's avatar
    Back out previous revision that changed the XML output format to RPC · f8ed2e3b
    Leigh Stoller authored
    format instead of plain old well formed XML. Note this change does not
    affect the parser in any way; the parser continues to spit out its own
    brand of XML, and xmlconvert treats that special when it reads it.
    
    The XML I spit out now is better formed and makes more sense when you
    look at it. It also helps that its much faster to generate, and the
    resulting output is much smaller. For example:
    
    	time /usr/testbed/libexec/xmlconvert testbed jail-2440
    	real    2m54.229s
    	user    1m7.492s
    	sys     1m15.927s
    
    	time /usr/testbed/devel/stoller/libexec/xmlconvert testbed jail-2440
    	real    0m14.738s
    	user    0m5.755s
    	sys     0m5.156s
    
    	/tmp/bar*.xml
    	-rw-rw-r--  1 stoller  wheel  15595161 Jun  4 11:16 /tmp/rpc.xml
    	-rw-rw-r--  1 stoller  wheel   5285690 Jun  4 11:17 /tmp/plain.xml
    
    Thats for a big experiment. For a small experiment:
    
    	time /usr/testbed/libexec/xmlconvert testbed jail-416
    	real    0m9.346s
    	user    0m5.083s
    	sys     0m2.675s
    
    	time /usr/testbed/devel/stoller/libexec/xmlconvert testbed jail-416
    	real    0m2.751s
    	user    0m1.377s
    	sys     0m1.183s
    
    	ll /tmp/bar*.xml
    	-rw-rw-r--  1 stoller  wheel  3135518 Jun  4 11:19 /tmp/rpc.xml
    	-rw-rw-r--  1 stoller  wheel  1015745 Jun  4 11:19 /tmp/plain.xml
    
    As you can see, the RPC code is rather non-linear in its performance!
    
    Since this affects Tim and netlab-client, I have added an alternate
    XMLRPC routine called virtual_topology_xml() that returns the new format,
    since Tim will need to transition to this new format (parsing it into a
    Java data structure). The old format is left in the RPC server until that
    is done.
    f8ed2e3b
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
delay/linux Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
hyperviewer/hypviewer Loading commit data...
install Loading commit data...
ipod Loading commit data...
lib Loading commit data...
os Loading commit data...
patches Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
GPL-COPYING Loading commit data...
LICENSE Loading commit data...
Makeconf.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
TODO.plab Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-aerolab Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-davidand-emulab Loading commit data...
defs-default Loading commit data...
defs-duerig-emulab Loading commit data...
defs-example Loading commit data...
defs-gatech Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-uky Loading commit data...
defs-wide Loading commit data...