2015-10-21 14:15:42 +00:00
|
|
|
#
|
|
|
|
# \brief VFS stress test
|
|
|
|
# \author Emery Hemingway
|
|
|
|
# \date 2015-08-30
|
|
|
|
#
|
|
|
|
|
|
|
|
build "core init drivers/timer test/vfs_stress"
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<affinity-space width="3" height="2" />
|
|
|
|
<parent-provides>
|
|
|
|
<service name="CPU"/>
|
2016-03-30 18:14:15 +00:00
|
|
|
<service name="IO_PORT"/>
|
|
|
|
<service name="IRQ"/>
|
2015-10-21 14:15:42 +00:00
|
|
|
<service name="LOG"/>
|
2016-03-30 18:14:15 +00:00
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="ROM"/>
|
2015-10-21 14:15:42 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
2017-05-07 20:36:11 +00:00
|
|
|
<default caps="100"/>
|
2015-10-21 14:15:42 +00:00
|
|
|
<start name="timer">
|
|
|
|
<resource name="RAM" quantum="1M"/>
|
|
|
|
<provides><service name="Timer"/></provides>
|
|
|
|
</start>
|
|
|
|
<start name="vfs_stress">
|
|
|
|
<resource name="RAM" quantum="1G"/>
|
|
|
|
<config depth="16"> <vfs> <ram/> </vfs> </config>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2018-04-23 08:49:21 +00:00
|
|
|
build_boot_image "core init ld.lib.so timer vfs_stress vfs.lib.so"
|
2015-10-21 14:15:42 +00:00
|
|
|
|
|
|
|
append qemu_args "-nographic -smp cpus=6"
|
|
|
|
|
|
|
|
run_genode_until ".*child \"vfs_stress\" exited with exit value 0.*" 600
|