Home
last modified time | relevance | path

Searched full:max (Results 1 – 25 of 825) sorted by relevance

12345678910>>...33

/qemu/tests/qemu-iotests/
H A D184.out126 "bps-read-max-length": 1,
127 "iops-read-max-length": 1,
128 "bps-read-max": 0,
130 "iops-total-max-length": 1,
132 "iops-write-max": 0,
134 "bps-total-max": 0,
135 "bps-write-max": 0,
138 "iops-write-max-length": 1,
140 "bps-total-max-length": 1,
141 "iops-read-max": 0,
[all …]
H A D17758 # Limited to 64k max-transfer
60 echo "== constrained alignment and max-transfer =="
61 limits=align=4k,max-transfer=64k
66 echo "== write zero with constrained max-transfer =="
67 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE
75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
82 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
H A D20459 # Limited to 64k max-transfer
61 echo "== constrained alignment and max-transfer =="
62 limits=align=4k,max-transfer=64k
67 echo "== write zero with constrained max-transfer =="
68 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE
76 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
83 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
H A D257.out33 … "job-id": "ref_backup_0", "sync": "full", "target": "ref_target_0", "x-perf": {"max-workers": 1}}}
80 … "job-id": "ref_backup_1", "sync": "full", "target": "ref_target_1", "x-perf": {"max-workers": 1}}}
94 …"job-id": "backup_1", "sync": "bitmap", "target": "backup_target_1", "x-perf": {"max-workers": 1}}}
218 … "job-id": "ref_backup_2", "sync": "full", "target": "ref_target_2", "x-perf": {"max-workers": 1}}}
232 …"job-id": "backup_2", "sync": "bitmap", "target": "backup_target_2", "x-perf": {"max-workers": 1}}}
302 … "job-id": "ref_backup_0", "sync": "full", "target": "ref_target_0", "x-perf": {"max-workers": 1}}}
349 … "job-id": "ref_backup_1", "sync": "full", "target": "ref_target_1", "x-perf": {"max-workers": 1}}}
365 …"job-id": "backup_1", "sync": "bitmap", "target": "backup_target_1", "x-perf": {"max-workers": 1}}}
425 … "job-id": "ref_backup_2", "sync": "full", "target": "ref_target_2", "x-perf": {"max-workers": 1}}}
439 …"job-id": "backup_2", "sync": "bitmap", "target": "backup_target_2", "x-perf": {"max-workers": 1}}}
[all …]
H A D051.out293 Testing: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678
294 …file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678: 'throttling.iops-total-max' an…
296 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd_max=1234,throttling.iops-read-max=5678
297 …ile=TEST_DIR/t.qcow2,iops_rd_max=1234,throttling.iops-read-max=5678: 'throttling.iops-read-max' an…
299 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr_max=1234,throttling.iops-write-max=5678
300 …e=TEST_DIR/t.qcow2,iops_wr_max=1234,throttling.iops-write-max=5678: 'throttling.iops-write-max' an…
302 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678
303 …ve file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678: 'throttling.bps-total-max' an…
305 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678
306 … file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678: 'throttling.bps-read-max' and…
[all …]
/qemu/include/qemu/
H A Dthrottle-options.h14 #define QEMU_OPT_IOPS_TOTAL_MAX "iops-total-max"
15 #define QEMU_OPT_IOPS_TOTAL_MAX_LENGTH "iops-total-max-length"
17 #define QEMU_OPT_IOPS_READ_MAX "iops-read-max"
18 #define QEMU_OPT_IOPS_READ_MAX_LENGTH "iops-read-max-length"
20 #define QEMU_OPT_IOPS_WRITE_MAX "iops-write-max"
21 #define QEMU_OPT_IOPS_WRITE_MAX_LENGTH "iops-write-max-length"
23 #define QEMU_OPT_BPS_TOTAL_MAX "bps-total-max"
24 #define QEMU_OPT_BPS_TOTAL_MAX_LENGTH "bps-total-max-length"
26 #define QEMU_OPT_BPS_READ_MAX "bps-read-max"
27 #define QEMU_OPT_BPS_READ_MAX_LENGTH "bps-read-max-length"
[all …]
H A Dthrottle.h51 * - max: the limit during bursts, also in units per second.
59 * - The size of the bucket is bkt.max * bkt.burst_length. Once the
65 * bursts is bkt.max. To enforce this limit we keep an additional
66 * bucket in bkt.burst_level that leaks at a rate of bkt.max units
70 * maximum of bkt.max units per second for at most bkt.burst_length
81 uint64_t max; /* leaky bucket max burst in units */ member
84 uint64_t burst_length; /* max length of the burst period, in seconds */
H A Dfifo8.h107 * @max: maximum number of bytes to pop
112 * Pop a number of elements from the FIFO up to a maximum of @max. The buffer
122 * return at least 1 byte. max must not be 0 or greater than the number of
130 const uint8_t *fifo8_pop_bufptr(Fifo8 *fifo, uint32_t max, uint32_t *numptr);
133 * fifo8_peek_bufptr: read upto max bytes from the fifo
135 * @max: maximum number of bytes to peek
138 * Peek into a number of elements from the FIFO up to a maximum of @max.
149 * return at least 1 byte. max must not be 0 or greater than the number of
157 const uint8_t *fifo8_peek_bufptr(Fifo8 *fifo, uint32_t max, uint32_t *numptr);
/qemu/fsdev/
H A Dqemu-fsdev-throttle.c50 fst->cfg.buckets[THROTTLE_BPS_TOTAL].max = in fsdev_throttle_parse_opts()
51 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in fsdev_throttle_parse_opts()
52 fst->cfg.buckets[THROTTLE_BPS_READ].max = in fsdev_throttle_parse_opts()
53 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in fsdev_throttle_parse_opts()
54 fst->cfg.buckets[THROTTLE_BPS_WRITE].max = in fsdev_throttle_parse_opts()
55 qemu_opt_get_number(opts, "throttling.bps-write-max", 0); in fsdev_throttle_parse_opts()
56 fst->cfg.buckets[THROTTLE_OPS_TOTAL].max = in fsdev_throttle_parse_opts()
57 qemu_opt_get_number(opts, "throttling.iops-total-max", 0); in fsdev_throttle_parse_opts()
58 fst->cfg.buckets[THROTTLE_OPS_READ].max = in fsdev_throttle_parse_opts()
59 qemu_opt_get_number(opts, "throttling.iops-read-max", 0); in fsdev_throttle_parse_opts()
[all …]
H A Dqemu-fsdev.c68 "throttling.bps-total-max",
69 "throttling.bps-read-max",
70 "throttling.bps-write-max",
71 "throttling.iops-total-max",
72 "throttling.iops-read-max",
73 "throttling.iops-write-max",
74 "throttling.bps-total-max-length",
75 "throttling.bps-read-max-length",
76 "throttling.bps-write-max-length",
77 "throttling.iops-total-max-length",
[all …]
/qemu/tests/qtest/
H A Darm-cpu-features.c18 * We expect the SVE max-vq to be 16. Also it must be <= 64
23 #define MACHINE "-machine virt,gic-version=max -accel tcg "
24 #define MACHINE_KVM "-machine virt,gic-version=max -accel kvm "
268 * With no sve-max-vq or sve<N> properties on the command line in sve_tests_default()
342 qts = qtest_init(MACHINE "-cpu max,sve-max-vq=8"); in sve_tests_sve_max_vq_8()
344 assert_sve_vls(qts, "max", BIT_ULL(8) - 1, NULL); in sve_tests_sve_max_vq_8()
347 * Disabling the max-vq set by sve-max-vq is not allowed, but in sve_tests_sve_max_vq_8()
350 assert_error(qts, "max", "cannot disable sve1024", "{ 'sve1024': false }"); in sve_tests_sve_max_vq_8()
351 assert_sve_vls(qts, "max", 0xff, "{ 'sve1024': true }"); in sve_tests_sve_max_vq_8()
354 * Enabling anything larger than max-vq set by sve-max-vq is not in sve_tests_sve_max_vq_8()
[all …]
/qemu/util/
H A Dthrottle.c44 bkt->level = MAX(bkt->level - leak, 0); in throttle_leak_bucket()
47 * keep track of bkt->burst_level so the bkt->max goal per second in throttle_leak_bucket()
50 leak = (bkt->max * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket()
51 bkt->burst_level = MAX(bkt->burst_level - leak, 0); in throttle_leak_bucket()
99 double burst_bucket_size; /* Before throttling to bkt->max */ in throttle_compute_wait()
105 if (!bkt->max) { in throttle_compute_wait()
106 /* If bkt->max is 0 we still want to allow short bursts of I/O in throttle_compute_wait()
114 bucket_size = bkt->max * bkt->burst_length; in throttle_compute_wait()
115 burst_bucket_size = (double) bkt->max / 10; in throttle_compute_wait()
127 assert(bkt->max > 0); /* see throttle_is_valid() */ in throttle_compute_wait()
[all …]
H A Dfifo8.c80 static const uint8_t *fifo8_peekpop_bufptr(Fifo8 *fifo, uint32_t max, in fifo8_peekpop_bufptr() argument
87 assert(max > 0 && max <= fifo->num); in fifo8_peekpop_bufptr()
90 num = MIN(fifo->capacity - head, max); in fifo8_peekpop_bufptr()
104 const uint8_t *fifo8_peek_bufptr(Fifo8 *fifo, uint32_t max, uint32_t *numptr) in fifo8_peek_bufptr() argument
106 return fifo8_peekpop_bufptr(fifo, max, 0, numptr, false); in fifo8_peek_bufptr()
109 const uint8_t *fifo8_pop_bufptr(Fifo8 *fifo, uint32_t max, uint32_t *numptr) in fifo8_pop_bufptr() argument
111 return fifo8_peekpop_bufptr(fifo, max, 0, numptr, true); in fifo8_pop_bufptr()
H A Dqemu-progress.c42 * @max percent of total operation
134 * If @max is zero, @delta is an absolute value of the total job done.
136 * of @max. I.e. the delta is @delta * @max / 100. This allows
142 void qemu_progress_print(float delta, int max) in qemu_progress_print() argument
146 if (max == 0) { in qemu_progress_print()
149 current = state.current + delta / 100 * max; in qemu_progress_print()
H A Dcpuinfo-i386.c24 unsigned max, a, b, c, d, b7 = 0, c7 = 0; in cpuinfo_init() local
26 max = __get_cpuid_max(0, 0); in cpuinfo_init()
28 if (max >= 7) { in cpuinfo_init()
34 if (max >= 1) { in cpuinfo_init()
92 max = __get_cpuid_max(0x8000000, 0); in cpuinfo_init()
93 if (max >= 1) { in cpuinfo_init()
/qemu/tests/unit/
H A Dtest-throttle.c47 bkt.max = 15; in test_leak_bucket()
53 g_assert(bkt.max == 15); in test_leak_bucket()
59 g_assert(bkt.max == 15); in test_leak_bucket()
65 g_assert(bkt.max == 15); in test_leak_bucket()
70 bkt.max = 250; in test_leak_bucket()
96 bkt.max = 15; in test_compute_wait()
103 bkt.max = 15; in test_compute_wait()
110 bkt.max = 15; in test_compute_wait()
115 /* half an operation above max */ in test_compute_wait()
117 bkt.max = 15; in test_compute_wait()
[all …]
H A Dtest-aio.c44 int max; member
51 int max; member
59 if (++data->n < data->max) { in bh_test_cb()
67 if (++data->n < data->max) { in timer_test_cb()
80 if (++data->n < data->max) { in bh_delete_cb()
127 BHTestData data = { .n = 0, .max = 10 }; in test_bh_schedule10()
182 BHTestData data1 = { .n = 0, .max = 1 }; in test_bh_delete_from_cb()
189 while (data1.n < data1.max) { in test_bh_delete_from_cb()
192 g_assert_cmpint(data1.n, ==, data1.max); in test_bh_delete_from_cb()
200 BHTestData data1 = { .n = 0, .max = 1 }; in test_bh_delete_from_cb_many()
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_max.S3 test_suite max
7 test max
11 max a5, a2, a3
17 max a5, a2, a3
23 max a2, a2, a3
29 max a3, a2, a3
35 max a2, a2, a3
41 max a3, a2, a3
/qemu/docs/
H A Dthrottle.txt85 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
93 throttling.iops-total-max=2000,
94 throttling.iops-total-max-length=60
118 The default value for 'iops-total-max' is 0 and it means that bursts
119 are not allowed. 'iops-total-max-length' can only be set if
120 'iops-total-max' is set as well, and its default value is 1 second.
127 | throttling.iops-total-max | iops_max |
128 | throttling.iops-total-max-length | iops_max_length |
129 | throttling.iops-read-max | iops_rd_max |
[all …]
/qemu/docs/system/arm/
H A Dcpu-features.rst40 1. Determine which CPU features are available for the ``max`` CPU type
41 (Note, we started QEMU with qemu-system-aarch64, so ``max`` is
44 (QEMU) query-cpu-model-expansion type=full model={"name":"max"}
46 "model": { "name": "max", "props": {
54 We see that the ``max`` CPU type has the ``pmu``, ``aarch64``, ``sve``, and many
64 (QEMU) query-cpu-model-expansion type=full model={"name":"max","props":{"pmu":false}}
66 "model": { "name": "max", "props": {
78 (QEMU) query-cpu-model-expansion type=full model={"name":"max","props":{"aarch64":false}}
90 (QEMU) query-cpu-model-expansion type=full model={"name":"max","props":{"sve":false}}
92 "model": { "name": "max", "props": {
[all …]
/qemu/tests/tcg/multiarch/libs/
H A Dfloat_helpers.c37 0xffff, /* -NaN / AHP -Max */
41 0xfbff, /* -Max */
49 0x7bff, /* Max */
53 0x7fff, /* NaN / AHP +Max*/
101 0x1.ff801ap-15, /* max subnormal FP16 */
108 0x1.ffcp+15, /* max FP16 */
111 0x1.ffcp+16, /* max AFP */
163 {6.09756E-5}, /* max subnormal FP16 */
173 {65504.0}, /* max FP16 */
176 {131008.0}, /* max AFP */
/qemu/tests/tcg/i386/
H A DMakefile.target20 run-test-i386-sse-exceptions: QEMU_OPTS += -cpu max
23 run-test-i386-pcmpistri: QEMU_OPTS += -cpu max
26 run-test-i386-bmi2: QEMU_OPTS += -cpu max
29 run-test-i386-adcox: QEMU_OPTS += -cpu max
33 run-test-aes: QEMU_OPTS += -cpu max
78 run-sha512-sse: QEMU_OPTS+=-cpu max
93 run-test-3dnow: QEMU_OPTS += -cpu max
97 run-test-mmx: QEMU_OPTS += -cpu max
101 run-test-avx: QEMU_OPTS += -cpu max
/qemu/system/
H A Ddirtylimit.c42 * Max vcpu sleep time percentage during a cycle
65 /* Max cpus number configured by user */
258 uint64_t min, max; in dirtylimit_done() local
261 max = MAX(quota, current); in dirtylimit_done()
263 return ((max - min) <= DIRTYLIMIT_TOLERANCE_RANGE) ? true : false; in dirtylimit_done()
270 uint64_t min, max; in dirtylimit_need_linear_adjustment() local
273 max = MAX(quota, current); in dirtylimit_need_linear_adjustment()
275 return ((max - min) * 100 / max) > DIRTYLIMIT_LINEAR_ADJUSTMENT_PCT; in dirtylimit_need_linear_adjustment()
325 cpu->throttle_us_per_full = MAX(cpu->throttle_us_per_full, 0); in dirtylimit_set_throttle()
568 /* Return the max throttle time of each virtual CPU */
[all …]
/qemu/tests/tcg/multiarch/system/
H A Dmemory.c138 const int max = (TEST_SIZE - offset) / sizeof(word); in init_test_data_u16() local
145 for (i = 0; i < max; i++) { in init_test_data_u16()
158 const int max = (TEST_SIZE - offset) / sizeof(word); in init_test_data_u32() local
165 for (i = 0; i < max; i++) { in init_test_data_u32()
181 const int max = (TEST_SIZE - offset) / sizeof(word); in init_test_data_u64() local
188 for (i = 0; i < max; i++) { in init_test_data_u64()
207 const int max = (TEST_SIZE - offset) / sizeof(word); in read_test_data_u16() local
211 for (i = 0; i < max; i++) { in read_test_data_u16()
232 const int max = (TEST_SIZE - offset) / sizeof(word); in read_test_data_u32() local
236 for (i = 0; i < max; i++) { in read_test_data_u32()
[all …]
/qemu/tests/tcg/riscv64/
H A Dtest-fcvtmod.c155 .exp_fcvt = 0x000000007fffffff, /* int32 max */
169 .exp_fcvt = 0x000000007fffffff, /* int32 max */
246 { .name = "+max int32 (2147483647)",
252 { .name = "+max int32 +1 (2147483648)",
258 { .name = "+max int32 +2 (2147483649)",
265 { .name = "-max int32 (-2147483648)",
271 { .name = "-max int32 -1 (-2147483649)",
275 .exp_fcvtmod = 2147483647, /* int32 max */
277 { .name = "-max int32 -2 (-2147483650)",
281 .exp_fcvtmod = 2147483646, /* int32 max -1 */

12345678910>>...33