/qemu/docs/ |
H A D | throttle.txt | 25 write operations. This gives us a total of six different parameters. 34 | throttling.iops-total | iops | 37 | throttling.bps-total | bps | 44 write limits or not, but note that if iops-total is set then neither 45 iops-read nor iops-write can be set. The same applies to bps-total and 53 -drive file=hd0.qcow2,throttling.iops-total=100 83 this section we'll use 'iops-total' as an example. 85 The I/O limit during bursts is set using 'iops-total-max', and the 86 maximum length (in seconds) is set with 'iops-total-max-length'. So if 92 throttling.iops-total=100, [all …]
|
H A D | multi-thread-compression.txt | 23 bandwidth is limited, and the total migration time can also be reduced 30 the total migration time. If the process of the compression is quick 31 enough, then the total migration time can be reduced, and multiple 78 total time(msec): | 3333 | 1833 86 total ram(kB): | 4211524 | 4211524 98 total time(msec): | 37369 | 15989 106 total ram(kB): | 4211524 | 4211524
|
/qemu/include/qemu/ |
H A D | throttle-options.h | 13 #define QEMU_OPT_IOPS_TOTAL "iops-total" 14 #define QEMU_OPT_IOPS_TOTAL_MAX "iops-total-max" 15 #define QEMU_OPT_IOPS_TOTAL_MAX_LENGTH "iops-total-max-length" 22 #define QEMU_OPT_BPS_TOTAL "bps-total" 23 #define QEMU_OPT_BPS_TOTAL_MAX "bps-total-max" 24 #define QEMU_OPT_BPS_TOTAL_MAX_LENGTH "bps-total-max-length" 39 .help = "limit total I/O operations per second",\ 51 .help = "limit total bytes per second",\ 75 .help = "total bytes burst",\ 79 .help = "total bytes read burst",\ [all …]
|
H A D | co-shared-resource.h | 2 * Helper functionality for distributing a fixed total amount of 35 * @total: total amount of some resource to be shared between clients 37 SharedResource *shres_create(uint64_t total); 54 * Deallocate an amount of @n. The total amount allocated by a caller
|
H A D | progress_meter.h | 35 * current and total represents the estimated percentage 41 uint64_t total; member 49 /* Get a snapshot of internal current and total values */ 51 uint64_t *total); 59 /* Increases the total work to do by @delta */
|
/qemu/tests/qemu-iotests/ |
H A D | 219.out | 6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "… 14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304… 17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943… 21 {"return": [{"current-progress": 131072, "id": "job0", "status": "paused", "total-progress": 419430… 24 {"return": [{"current-progress": 196608, "id": "job0", "status": "running", "total-progress": 41943… 28 {"return": [{"current-progress": 196608, "id": "job0", "status": "paused", "total-progress": 419430… 31 {"return": [{"current-progress": 262144, "id": "job0", "status": "running", "total-progress": 41943… 35 {"return": [{"current-progress": 262144, "id": "job0", "status": "paused", "total-progress": 419430… 38 {"return": [{"current-progress": 327680, "id": "job0", "status": "running", "total-progress": 41943… 49 {"return": [{"current-progress": 4194304, "id": "job0", "status": "ready", "total-progress": 419430… [all …]
|
H A D | 184.out | 129 "bps-total": 0, 130 "iops-total-max-length": 1, 131 "iops-total": 1000, 134 "bps-total-max": 0, 140 "bps-total-max-length": 1, 144 "iops-total-max": 0 156 "bps-total": 0, 157 "iops-total-max-length": 1, 158 "iops-total": 0, 161 "bps-total-max": 0, [all …]
|
H A D | 184 | 71 "iops-total": 1000 98 "iops-total": 1000 113 "iops-total" : 0 136 "iops-total": 1000 143 "property" : "x-iops-total", 152 "iops-total" : 10,
|
H A D | 051.out | 275 Testing: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678 276 …OG: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678: 'throttling.iops-total' and… 284 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678 285 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678: 'throttling.bps-total' … 293 Testing: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678 294 …rive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678: 'throttling.iops-total-ma… 302 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678 303 … -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678: 'throttling.bps-total-ma… 332 Testing: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4 333 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4: bps/iops/max values must be withi… [all …]
|
/qemu/system/ |
H A D | bootdevice.c | 245 * memory pointed by "size" is assigned total length of the array in bytes 251 size_t total = 0; in get_boot_devices_list() local 262 if (total) { in get_boot_devices_list() 263 list[total-1] = '\n'; in get_boot_devices_list() 266 list = g_realloc(list, total + len); in get_boot_devices_list() 267 memcpy(&list[total], bootpath, len); in get_boot_devices_list() 268 total += len; in get_boot_devices_list() 272 *size = total; in get_boot_devices_list() 276 list[total-1] = '\n'; in get_boot_devices_list() 277 list = g_realloc(list, total + 5); in get_boot_devices_list() [all …]
|
/qemu/util/ |
H A D | qemu-co-shared-resource.c | 2 * Helper functionality for distributing a fixed total amount of 31 uint64_t total; /* Set in shres_create() and not changed anymore */ member 40 SharedResource *shres_create(uint64_t total) in shres_create() argument 44 s->total = s->available = total; in shres_create() 53 assert(s->available == s->total); in shres_destroy() 71 assert(n <= s->total); in co_get_from_shres() 81 assert(s->total - s->available >= n); in co_put_to_shres()
|
H A D | iov.c | 156 ssize_t total = 0; in iov_send_recv_with_flags() local 217 if (errno == EAGAIN && total > 0) { in iov_send_recv_with_flags() 218 return total; in iov_send_recv_with_flags() 231 total += ret; in iov_send_recv_with_flags() 236 return total; in iov_send_recv_with_flags() 320 * dst copies up to `sbytes' bytes total, or up to the end 355 * dst copies up to `sbytes' bytes total, or up to the end 627 size_t total = 0; in iov_discard_front_undoable() local 643 total += bytes; in iov_discard_front_undoable() 648 total += cur->iov_len; in iov_discard_front_undoable() [all …]
|
H A D | mmap-alloc.c | 254 size_t offset, total; in qemu_ram_mmap() local 261 total = size + align; in qemu_ram_mmap() 263 guardptr = mmap_reserve(total, fd); in qemu_ram_mmap() 277 munmap(guardptr, total); in qemu_ram_mmap() 289 total -= offset; in qemu_ram_mmap() 290 if (total > size + guard_pagesize) { in qemu_ram_mmap() 291 munmap(ptr + size + guard_pagesize, total - size - guard_pagesize); in qemu_ram_mmap()
|
/qemu/tests/unit/ |
H A D | test-bitmap.c | 18 unsigned long *bmap1, *bmap2, *bmap3, total; in check_bitmap_copy_with_offset() local 28 total = BITS_PER_LONG * 4; in check_bitmap_copy_with_offset() 31 bitmap_copy_with_dst_offset(bmap2, bmap1, 115, total); in check_bitmap_copy_with_offset() 33 bitmap_copy_with_dst_offset(bmap3, bmap2, 85, total + 115); in check_bitmap_copy_with_offset() 35 bitmap_copy_with_src_offset(bmap2, bmap3, 200, total); in check_bitmap_copy_with_offset() 37 g_assert_cmpmem(bmap1, total / BITS_PER_LONG, in check_bitmap_copy_with_offset() 38 bmap2, total / BITS_PER_LONG); in check_bitmap_copy_with_offset()
|
/qemu/block/ |
H A D | progress_meter.c | 42 uint64_t *total) in progress_get_snapshot() argument 47 *total = pm->total; in progress_get_snapshot() 59 pm->total = pm->current + remaining; in progress_set_remaining() 65 pm->total += delta; in progress_increase_remaining()
|
/qemu/tests/bench/ |
H A D | bufferiszero-bench.c | 23 double total = 0.0; in test() local 28 total += len; in test() 31 total /= MiB; in test() 34 total / g_test_timer_last()); in test()
|
H A D | benchmark-crypto-hmac.c | 26 double total = 0.0; in test_hmac_speed() local 54 total += chunk_size; in test_hmac_speed() 57 total /= MiB; in test_hmac_speed() 60 chunk_size, total / g_test_timer_last()); in test_hmac_speed()
|
H A D | benchmark-crypto-cipher.c | 28 const size_t total = 2 * GiB; in test_cipher_speed() local 62 remain = total; in test_cipher_speed() 76 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed() 79 remain = total; in test_cipher_speed() 93 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed()
|
/qemu/target/hexagon/ |
H A D | gdbstub.c | 81 int total = 0; in gdb_get_vreg() local 84 total += gdb_get_regl(mem_buf, env->VRegs[n].uw[i]); in gdb_get_vreg() 86 return total; in gdb_get_vreg() 91 int total = 0; in gdb_get_qreg() local 94 total += gdb_get_regl(mem_buf, env->QRegs[n].uw[i]); in gdb_get_qreg() 96 return total; in gdb_get_qreg()
|
/qemu/fsdev/ |
H A D | qemu-fsdev.c | 62 "throttling.bps-total", 65 "throttling.iops-total", 68 "throttling.bps-total-max", 71 "throttling.iops-total-max", 74 "throttling.bps-total-max-length", 77 "throttling.iops-total-max-length",
|
H A D | qemu-fsdev-throttle.c | 38 qemu_opt_get_number(opts, "throttling.bps-total", 0); in fsdev_throttle_parse_opts() 44 qemu_opt_get_number(opts, "throttling.iops-total", 0); in fsdev_throttle_parse_opts() 51 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in fsdev_throttle_parse_opts() 57 qemu_opt_get_number(opts, "throttling.iops-total-max", 0); in fsdev_throttle_parse_opts() 64 qemu_opt_get_number(opts, "throttling.bps-total-max-length", 1); in fsdev_throttle_parse_opts() 70 qemu_opt_get_number(opts, "throttling.iops-total-max-length", 1); in fsdev_throttle_parse_opts()
|
/qemu/include/standard-headers/linux/ |
H A D | sysinfo.h | 11 unsigned long totalram; /* Total usable main memory size */ 15 unsigned long totalswap; /* Total swap space size */ 19 unsigned long totalhigh; /* Total high memory size */
|
/qemu/include/hw/misc/ |
H A D | allwinner-h3-dramc.h | 35 /** Total number of known DRAMCOM registers */ 42 /** Total number of known DRAMCTL registers */ 49 /** Total number of known DRAMPHY registers */ 76 /** Total RAM size in megabytes */
|
H A D | allwinner-r40-dramc.h | 35 /** Total number of known DRAMCOM registers */ 42 /** Total number of known DRAMCTL registers */ 49 /** Total number of known DRAMPHY registers */ 76 /** Total RAM size in megabytes */
|
/qemu/ |
H A D | qemu-io-cmds.c | 471 int64_t count, int64_t total, int cnt, bool Cflag) in print_report() argument 477 cvtstr((double)total, s1, sizeof(s1)); in print_report() 478 cvtstr(tdiv((double)total, *t), s2, sizeof(s2)); in print_report() 480 op, total, count, offset); in print_report() 485 total, cnt, ts, in print_report() 486 tdiv((double)total, *t), in print_report() 522 printf("The total number of bytes exceed the maximum size %" PRIu64 in create_iovec() 546 int64_t bytes, BdrvRequestFlags flags, int64_t *total) in do_pread() argument 558 *total = bytes; in do_pread() 563 int64_t bytes, BdrvRequestFlags flags, int64_t *total) in do_pwrite() argument [all …]
|