search for: taskset

Displaying 20 results from an estimated 53 matches for "taskset".

2014 Feb 26
2
OT: Howto to capture taskset output command
Hi all, I am trying to set processor affinity for a specific process using a shell script without result. Script: #!/bin/sh -x cpu_affinity_ok="2" cpu_affinity="taskset -p -c `cat /tmp/test.pid` | awk '{print $6}'" if [ -f /tmp/test.pid ]; then if [ "$cpu_affinity" == "$cpu_affinity_ok" ]; then exit 0 else taskset -p -c 2 `cat /tmp/test.pid` fi fi This script doesn't works: [root at cos01 bin]# t...
2016 May 13
0
vcpupin vs taskset performance difference
...ying to run some performance tests using libvirt 1.2.17. For these tests it is necessary to set a specific affinity for the VCPUs of a running VM. The problem is, that I noticed a significant performance drop in my metrics when using 'vcpupin' from the virsh console instead of running 'taskset' natively. Specifically the methods I am comparing are 1. Using native shell taskset -a -cp $MY_CPUSET $MY_DOMAIN_PID 2. Using virsh console (performance ~30% down) for all $VCPUs virsh vcpupin my_domain -cpulist $MY_CPUSET -vcpu $VCPU -live virsh em...
2005 Dec 12
0
CENTOS3.6: taskset crash
Hello I am using memtester V4.0.5 on x86_64 arch (4x PROC-4GB total) and it works fine. When I want to launch it on only one CPU with the taskset cmd the machine crashes. here is the cmd i am using taskset 0x00000002 ./memester 1000 known issue ? Thanks Jean-Pierre
2010 Feb 17
3
processor affinity
Hello, i am running CentOS 5.4. i have a requirement where i need to have 1 application have a single processor all to its self, and the rest of the system run on the other processors. "taskman" lets me bind the process to a processor(s), but it does not make it exclusive. Is this possible to do? i have even tried mucking around with the rc.sysinit, but to no avail. thank you very
2008 Sep 01
7
Slow performance with many 3D games
Lots of 3D games such as Team Fortress 2, Audiosurf or Stalker have very low performance in comparison to running on the same computer on Windows. What can I do to improve it? What developers have still to implement to fully support 3D rendering?
2012 Apr 04
1
vcpupin and kvm
Hi. Can anyone confirm if vcpupin works correctly with kvm? If set I pin a vcpu it shows up correctly via vcpuinfo, but querying via taskset shows the cpu is not pinned. Thanks, -Geoff -- ---- Geoff Galitz, ggalitz at shutterstock.com WebOps Engineer, Europe Shutterstock Images http://wwww.shutterstock.com/
2007 Feb 14
2
ext3 filesystem performance question
...are 500 GB SATA-Drives. Wondering about times for dd command performance and rm command performance in an empty machine (the filesystem has been made with "mkfs.ext3 /dev/sd...", nothing more) 1. Making a new 3 GB (1024 x 3megabytes blocks) file with dd needs 10.18 sec wallclock time: taskset 1 time dd if=/dev/zero bs=3M count=1024 of=~backes/xxxxx 1024+0 records in 1024+0 records out 0.00user 10.02system 0:10.18elapsed 98%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+187minor)pagefaults 0swaps 2. Repeating the same for 3 times: taskset 1 time dd if=/dev/zero bs=3M...
2018 Sep 05
2
Domain vCPU threads affinity
...er cgroups or sched_setaffinity to pin vcpu threads to cpus. How is this decision made? I observe differences even on different hosts featuring the same version of libvirtd (1.3.1): on one host vcpupin affects cpuset.cpus (cgroup), and on the other it affects vcpu threads affinity (observed through taskset). Thanks, Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180905/52840ebe/attachment.htm>
2011 Sep 10
1
Help with everquest titanium install (eqemu)
i have ubuntu 11.04 with wine 1.3.27 amd athlon x2 64 ati radieon 3100 i use this path to start the client /home/nick/.wine/drive_c/"Program Files"/Sony/EverQuest/eqgame.exe taskset -c 0 patchme -opengl it goes to black screen and gives the following UIErrorLog created at Sat Sep 10 19:41:40 2011 [Sat Sep 10 19:41:40 2011] Warning: file EQLSUI.xml not found in directory UIFiles\default\. Attempting to use file from Default skin. [Sat Sep 10 19:41:40 2011] Couldn't ope...
2013 Dec 03
3
help about migration with libvirt
Hi experts I want to use libvirt doing the migration migration the guest from core 0 to core 2, Is there a way to do this ? any points? Lei -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20131203/1cd982b2/attachment.htm>
2006 Jun 13
8
IAX2 Vs SIP cpu load
Hello Is it correct that IAX2 uses more CPU, than SIP? Also, can it be true that IAX2 is much more sensitive against high CPU loads? Also, does Asterisk support and use multiprocessor architectures, such as Xeon? ? Regards Jon -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 12-06-2006
2010 Sep 24
1
performance and interrupts
...-avoid-overloading-cpu-0-with-interrupt-requests.aspx Now, lets say I disable irqbalance which will stop my autobalance and I pin all of my interrupts to core 0 and pin eth0 and eth1 to core 1. My application is network and CPU hungry. I am planning to dedicate cpu 3 to 8 for the application using taskset. Is there any draw back to this?
2011 Jul 21
2
how to assign program to run on dedicate CPU ?
We have CENTOS 5.X on DELL servers. I know on Windows environment I can use "imagecfg.exe" to assign program run on dedicate CPU. Can anyone tell me how to do this on LINUX? Thanks.
2013 Dec 03
1
Re: help about migration with libvirt
...> in the manual of virsh. It is possible to enable vCPU pinning in libvirt > guest XML. > > Don't know if libvirt supports applying CPU affinity at guest runtime Yes, 'virsh vcpupin' can be used to change CPU affinity at runtime. > but you could do it with usual tools (taskset, htop, etc). Going behind libvirt's back may lead to unexpected surprises. Also, preferring the libvirt interfaces for changing CPU affinity gives you better flexibility of changing things even when using remote URIs (you don't have to open separate ssh sessions to the remote machines to...
2009 Nov 17
2
High load averages with latest kernel and USB drives?
I'm having a server report a high load average when backing up Postgres database files to an external USB drive. This is driving my loadbalancers all out of kilter and causing a large volume of network monitor alerts. I have a 1TB USB drive plugged into a USB2 port that I use to back up the production drives (which are SCSI). It's working fine, but while doing backups (hourly) the
2020 Mar 28
2
LLD issue on a massively parallel build machine
That is slowing down the build visibly, for the speed I should stick with ld at the moment. On Sun, Mar 29, 2020 at 4:42 AM Alexandre Ganea <alexandre.ganea at ubisoft.com> wrote: > Would `taskset -c 0-3 ninja check-all -j4` work? > > > > *De :* Itaru Kitayama <itaru.kitayama at gmail.com> > *Envoyé :* March 28, 2020 3:37 PM > *À :* Alex Brachet-Mialot <alexbrachetmialot at gmail.com> > *Cc :* Alexandre Ganea <alexandre.ganea at ubisoft.com>; LLVM Dev &...
2020 Mar 28
3
LLD issue on a massively parallel build machine
Alex : Can you please try `numactl` or `taskset` after https://github.com/llvm/llvm-project/commit/09158252f777c2e2f06a86b154c44abcbcf9bb74 ? There was a tiny bug in how sched_getaffinity() was used, see: https://reviews.llvm.org/D75153#1942336 De : Alex Brachet-Mialot <alexbrachetmialot at gmail.com> Envoyé : March 28, 2020 12:11 PM À :...
2017 Feb 27
3
Noisy benchmark results?
...t a time. (--threads 1 --build-threads 6). > * Make lnt use linux perf to get more accurate timing for short-running > benchmarks (--use-perf=1) > * Pin the running benchmark to a specific core, so the OS doesn't move the > benchmark process from core to core. (--make-param=RUNUNDER=taskset -c 1) > * Only run the programs that are marked as a benchmark; some of the tests > in the test-suite are not intended to be used as a benchmark > (--benchmarking-only) > * Make sure each program gets run multiple times, so that LNT has a higher > chance of recognizing which programs...
2020 Mar 28
2
LLD issue on a massively parallel build machine
...mail.com> > wrote: > >> That is slowing down the build visibly, for the speed I should stick with >> ld at the moment. >> >> >> On Sun, Mar 29, 2020 at 4:42 AM Alexandre Ganea < >> alexandre.ganea at ubisoft.com> wrote: >> >>> Would `taskset -c 0-3 ninja check-all -j4` work? >>> >>> >>> >>> *De :* Itaru Kitayama <itaru.kitayama at gmail.com> >>> *Envoyé :* March 28, 2020 3:37 PM >>> *À :* Alex Brachet-Mialot <alexbrachetmialot at gmail.com> >>> *Cc :* Alexandre...
2011 May 20
1
scheduling differences between CentOS 4 and CentOS 5?
...microseconds when moving from CentOS 4 to CentOS 5. I have used a few methods of profiling our application, and determined that the added latency on CentOS 5 comes from queue operations (in particular, popping). However, I can improve performance on CentOS 5 (to be the same as CentOS 4) by using taskset to bind the program to a subset of the available cores. So it appers to me, between CentOS 4 and 5, there was some change (presumably to the kernel) that caused threads to be scheduled differently (and this difference is suboptimal for our application). While I can "solve" this problem...