Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 25 of 109) sorted by relevance

12345

/f-stack/freebsd/amd64/vmm/
H A Dx86.c99 uint16_t cores, maxcpus, sockets, threads; in x86_emulate_cpuid() local
258 logical_cpus = threads; in x86_emulate_cpuid()
263 logical_cpus = threads; in x86_emulate_cpuid()
268 logical_cpus = threads * cores; in x86_emulate_cpuid()
298 threads = MIN(0xFF, threads - 1); in x86_emulate_cpuid()
299 regs[1] = (threads << 8) | in x86_emulate_cpuid()
300 (vcpu_id >> log2(threads + 1)); in x86_emulate_cpuid()
397 logical_cpus = threads * cores; in x86_emulate_cpuid()
418 logical_cpus = threads; in x86_emulate_cpuid()
494 logical_cpus = threads; in x86_emulate_cpuid()
[all …]
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dperformance_thread.rst18 different threads, and makes it possible to assign individual threads to
34 application threads as lightweight threads (L-threads) within one or
35 more EAL threads.
136 Running with L-threads
176 The following places RX EAL threads on lcore 0 and TX EAL threads on lcore 1
221 Start 2 L-threads for RX on lcore 0, and 2 L-threads for TX on lcore 1::
227 Start 2 EAL threads for RX on cpu-set 0, and 2 EAL threads for TX on
250 into two different threads, and the RX and TX threads are
393 L-threads are scheduled cooperatively. L-threads cannot not preempt each
419 L-threads, all L-threads are equal and scheduling is based on a FIFO
[all …]
H A Ddist_app.rst64 The distributor application consists of four types of threads: a receive
66 worker threads (``lcore_worker()``), and a transmit thread(``lcore_tx()``).
67 How these threads work together is shown in :numref:`figure_dist_app` below.
68 The ``main()`` function launches threads of these four types. Each thread
78 tag. The distributor thread communicates with the worker threads using a
83 worker threads do simple packet processing by requesting packets from
96 in the application will terminate all running threads gracefully and print
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dpool.c37 ZSTD_pthread_t* threads; member
143 … ctx->threads = (ZSTD_pthread_t*)ZSTD_customMalloc(numThreads * sizeof(ZSTD_pthread_t), customMem); in POOL_create_advanced()
147 if (!ctx->threads || !ctx->queue) { POOL_free(ctx); return NULL; } in POOL_create_advanced()
151 if (ZSTD_pthread_create(&ctx->threads[i], NULL, &POOL_thread, ctx)) { in POOL_create_advanced()
176 ZSTD_pthread_join(ctx->threads[i], NULL); /* note : could fail */ in POOL_join()
187 ZSTD_customFree(ctx->threads, ctx->customMem); in POOL_free()
215 ZSTD_memcpy(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); in POOL_resize_internal()
216 ZSTD_customFree(ctx->threads, ctx->customMem); in POOL_resize_internal()
217 ctx->threads = threadPool; in POOL_resize_internal()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/perf/
H A Dperf.shlib45 typeset threads=$1
53 suffix="$suffix.$threads-threads.$filesystems-filesystems"
63 typeset threads=$4
69 log_note "Running with $threads $sync_str threads, $iosize ios"
82 # of the number of threads.
115 export FILESIZE=$((TOTAL_SIZE / threads))
116 export NUMJOBS=$threads
177 for threads in $PERF_NTHREADS; do
185 $threads \
313 typeset threads=$1
[all …]
/f-stack/dpdk/doc/guides/prog_guide/
H A Dthread_safety_dpdk_functions.rst8 Some of the functions in these libraries can be safely called from multiple threads simultaneously,…
13 Typically, it is best to avoid sharing data structures between threads and/or processes where possi…
22 certain functions within those libraries may not be safe to call from multiple threads simultaneous…
28 lookups of values can be performed in parallel in multiple threads.
30 cannot be done in multiple threads without using locking when a single hash or LPM table is accesse…
35 Note, however, that these functions can safely be used from multiple threads
37 If multiple threads are to use the same hardware queue on the same NIC port,
60 rather than subsequently in the forwarding threads.
72 callbacks may be called in an additional thread outside the main DPDK processing threads.
73 … callbacks should avoid manipulating DPDK objects that are also managed by the normal DPDK threads,
H A Drcu_lib.rst87 The length of the critical section and the number of reader threads
122 of memory to allocate. This API takes a maximum number of reader threads,
131 maximum number of threads provided while creating the QS variable.
140 Some of the use cases might require the reader threads to make blocking API
147 The writer thread can trigger the reader threads to report their quiescent
149 writer threads to query the quiescent state status simultaneously. Hence,
154 threads enter the quiescent state is provided. If this API indicates that
155 all the reader threads have entered the quiescent state, the application
160 running as worker threads.
163 the writer threads flexibility to do useful work instead of blocking for the
[all …]
H A Dstack_lib.rst47 lock-free property means that multiple threads can push and pop simultaneously,
79 2. Other threads modify the list such that the head pointer is once again X,
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_thread_pool.c38 ngx_uint_t threads; member
156 for (n = 0; n < tp->threads; n++) { in ngx_thread_pool_init()
183 for (n = 0; n < tp->threads; n++) { in ngx_thread_pool_destroy()
430 if (tpp[i]->threads) { in ngx_thread_pool_init_conf()
439 tpp[i]->threads = 32; in ngx_thread_pool_init_conf()
470 if (tp->threads) { in ngx_thread_pool()
482 tp->threads = ngx_atoi(value[i].data + 8, value[i].len - 8); in ngx_thread_pool()
484 if (tp->threads == (ngx_uint_t) NGX_ERROR || tp->threads == 0) { in ngx_thread_pool()
507 if (tp->threads == 0) { in ngx_thread_pool()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_swx_pipeline.c1107 struct thread *t = &p->threads[i]; in struct_build()
1122 struct thread *t = &p->threads[i]; in struct_build_free()
1726 struct thread *t = &p->threads[i]; in extern_obj_build()
1761 struct thread *t = &p->threads[i]; in extern_obj_build_free()
1936 struct thread *t = &p->threads[i]; in extern_func_build()
1969 struct thread *t = &p->threads[i]; in extern_func_build_free()
2122 struct thread *t = &p->threads[i]; in header_build()
2159 struct thread *t = &p->threads[i]; in header_build_free()
2236 struct thread *t = &p->threads[i]; in metadata_build()
2255 struct thread *t = &p->threads[i]; in metadata_build_free()
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/
H A DTUNING.md18 Enabling jemalloc background threads generally improves the tail latency for
19 application threads, since unused memory purging is shifted to the dedicated
20 background threads. In addition, unintended purging delay caused by
21 application inactivity is avoided with background threads.
23 Suggested: `background_thread:true` when jemalloc managed threads can be
126 It is common for some threads in an application to have different memory
128 from explicit binding, e.g. binding very active threads to dedicated arenas
/f-stack/freebsd/contrib/libsodium/m4/
H A Dax_pthread.m411 # This macro figures out how to build C programs using POSIX threads. It
12 # sets the PTHREAD_LIBS output variable to the threads library and linker
40 # ACTION-IF-FOUND is a list of shell commands to run if a threads library
100 # etcetera environment variables, and if threads linking works using
121 # We must check for the threads library under a number of different
137 # none: in case threads are in libc; should be tried before -Kthread and
139 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
140 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
143 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
259 # to get POSIX threads support; the API is always present and
[all …]
/f-stack/freebsd/contrib/zstd/examples/
H A Dstreaming_compression_thread_pool.c155 pthread_t *threads = malloc_orDie(argc * sizeof(pthread_t)); in main() local
167 pthread_create (&threads[i], NULL, compressFile_orDie, &args[i]); in main()
171 pthread_join (threads[i], NULL); in main()
/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Dretained.c110 VARIABLE_ARRAY(thd_t, threads, nthreads); in TEST_BEGIN()
112 thd_create(&threads[i], thd_start, NULL); in TEST_BEGIN()
170 thd_join(threads[i], NULL); in TEST_BEGIN()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2.c62 instance.threads = context->threads; in argon2_ctx()
126 context.threads = parallelism; in argon2_hash()
252 ret = argon2_hash(ctx.t_cost, ctx.m_cost, ctx.threads, pwd, pwdlen, in argon2_verify()
/f-stack/app/nginx-1.16.1/auto/
H A Dthreads10 $0: --with-threads is not supported on Windows
/f-stack/dpdk/drivers/regex/octeontx2/
H A Dotx2_regexdev_compiler.c49 uint32_t threads = 1; in ree_rule_db_compile() local
105 threads, in ree_rule_db_compile()
/f-stack/app/nginx-1.16.1/auto/lib/openssl/
H A Dmake54 && ./config --prefix=$ngx_prefix no-shared no-threads $OPENSSL_OPT \\
/f-stack/freebsd/contrib/device-tree/src/powerpc/
H A Dps3.dts38 * threads is with an ibm,ppc-interrupt-server#s entry. We'll put one
/f-stack/dpdk/doc/guides/howto/
H A Dpvp_reference_benchmark.rst45 #. On BIOS, disable turbo-boost and hyper-threads.
53 #. Disable hyper-threads at runtime if necessary or if BIOS is not accessible:
131 With this command, isolated CPUs 2 to 5 will be used as lcores for PMD threads.
246 <topology sockets='1' cores='3' threads='1'/>
/f-stack/dpdk/doc/guides/compressdevs/
H A Dqat_comp.rst43 in different threads.)
/f-stack/freebsd/contrib/device-tree/Bindings/mailbox/
H A Dti,secure-proxy.txt7 called "threads" or "proxies" - each instance is unidirectional and is
/f-stack/app/nginx-1.16.1/
H A Dconfigure61 . auto/threads
/f-stack/freebsd/vm/
H A Dvm_pageout.c1657 u_int freed, pps, slop, threads, us; in vm_pageout_inactive_dispatch() local
1666 threads = vmd->vmd_inactive_threads; in vm_pageout_inactive_dispatch()
1667 if (threads > 1 && vmd->vmd_inactive_pps != 0 && in vm_pageout_inactive_dispatch()
1669 vmd->vmd_inactive_shortage /= threads; in vm_pageout_inactive_dispatch()
1670 slop = shortage % threads; in vm_pageout_inactive_dispatch()
1672 blockcount_acquire(&vmd->vmd_inactive_starting, threads - 1); in vm_pageout_inactive_dispatch()
1673 blockcount_acquire(&vmd->vmd_inactive_running, threads - 1); in vm_pageout_inactive_dispatch()
/f-stack/dpdk/doc/guides/mempool/
H A Dring.rst49 scenarios (multiple threads share same set of cores) the ``ring_mt_rts`` or

12345