search for: getconf

Displaying 20 results from an estimated 41 matches for "getconf".

2018 Jun 19
6
Naming clash: -DCLS=n and CLS in code
...t; and C++ standards. > > I still think there's some weird library out there that interprets it > the way you're suggesting, and Clang is not that weird library. This is from a famous article series titled "What every programmer should know about memory": gcc -DCLS=$(getconf LEVEL1_DCACHE_LINESIZE) ... https://lwn.net/Articles/255364/ http://mosermichael.github.io/cstuff/all/blog/2015/12/11/wepskn.html https://www.dcl.hpi.uni-potsdam.de/teaching/numasem/slides/NUMASem_Matrix_multiplication.pdf You can find more examples by searching for "DCLS getconf LEVEL1_DCAC...
2018 Jun 19
3
Naming clash: -DCLS=n and CLS in code
On Tue, 19 Jun 2018 at 20:46, Bruce Hoult <brucehoult at sifive.com> wrote: > Furthermore .. in the articles you reference, the -DCLS=$(getconf LEVEL1_DCACHE_LINESIZE) is passed when compiling the user's program -- one doing extensive blocked matrix operations -- and not when building the *compiler*. It's worse. At least in the first case, the code looks like it wouldn't even compile without that definition. That's not an...
2013 May 29
3
[PATCH RFC] virtio-pci: new config layout: using memory BAR
Paolo Bonzini <pbonzini at redhat.com> writes: > Il 28/05/2013 19:32, Michael S. Tsirkin ha scritto: >>>> > > + >>>> > > + switch (addr) { >>>> > > + case offsetof(struct virtio_pci_common_cfg, device_feature_select): >>>> > > + return proxy->device_feature_select; >>> > >>> >
2007 Mar 27
1
NPTL degraded?
I'm not sure what has happened but for some reason my CentOS 4 system is showing me using default threads?? # getconf GNU_LIBPTHREAD_VERSION linuxthreads-0.10 # uname -rimpv 2.6.9-42.0.10.EL #1 Tue Feb 27 09:24:42 EST 2007 i686 athlon i386 I could have sworn it used to show: NPTL 2.3.4 Like a couple other machines. Any ideas what might have changed this or how I get it back??? the devel package for NPTL is ins...
2018 Jun 19
2
Naming clash: -DCLS=n and CLS in code
Tim Northover via llvm-dev wrote on 06/19/2018 09:22 PM: > On Tue, 19 Jun 2018 at 20:12, U.Mutlu <um at mutluit.com> wrote: >> You can find more examples by searching for "DCLS getconf LEVEL1_DCACHE_LINESIZE". > > Frankly, it all looks like cargo-cult optimization flagomancy. I'd > suggest you drop it, it's not magical I promise. Hey, I'm working on optimization, and I know "it works". Curious, have you ever heard of "false sharing"...
2011 Jun 27
4
How many L1/L2 my cpu have ?
...####################################### Into sys directory we can find some information about cache size but again not all information are true L2 - not true L1 - true *cat /sys/devices/system/cpu/cpu*/cache/index*/size * 32K 32K 6144K 32K 32K 6144K ##################################### getconf show information only for one core. *getconf -a |grep CACHE * LEVEL1_ICACHE_SIZE 32768 LEVEL1_DCACHE_SIZE 32768 LEVEL2_CACHE_SIZE 6291456 L1 - 64KiB - not true L2 - 6MiB - true ############################ According the most powerful tool - x86info we can presume that we have: *x86info -...
2008 Apr 09
0
About kernel smp and acpi on hardware vm.
...en servers (3), I use xen 3.2 for a Dom0 compiled with the linux kernel caming from http://xenbits.xensource.com/linux-2.6.18-xen.hg My 2 old xen servers are : Dual core Intel(R) Pentium(R) D CPU 2.80GHz Ubuntu 7.10 #uname -a : Linux 2.6.18.8-xen #1 SMP Thu Jan 24 17:04:50 CET 2008 i686 GNU/Linux #getconf WORD_BIT : 32 My new xen server is : Quadri core Intel(R) Xeon(R) CPU E5335 @ 2.00GHz Ubuntu 7.10 #uname -a : Linux 2.6.18.8-xen #1 SMP Thu Mar 6 16:32:32 CET 2008 i686 GNU/Linux #getconf WORD_BIT : 32 My hvm server is : Disk is emulated in a 3Gb file (ex : disk = [ ''file:/xen/hvm-mic.d...
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync, I recently attempted to get cygwin and rsync working to solve a backup/mirroring need in my computer life. Well, as you might guess, I ran into a little but of trouble. Strangely enough, rsync seemed to be regularly hanging when I attempted to do a "get" (sycronize a remote to a local dir). Well, considering I want to automate this, that was not going
2002 Jun 18
2
OpenSSH and Solaris groups
I have an odd problem and I was wondering if anyone has ever run into this before. I have a machine running solaris 8, OpenSSH 3.1p1 and OpenSSL 0.9.6c and it has been working fine for quite some time (ssh that is). Today, /etc/system was updated to increase the maximum number of groups from 16 to 32. After the system was rebooted, things seemed to be working as expected, however one of our
2018 Jun 19
2
Naming clash: -DCLS=n and CLS in code
Tim Northover via llvm-dev wrote on 06/19/2018 07:55 PM: > On Tue, 19 Jun 2018 at 18:22, U.Mutlu via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> I think such "reserved" names like CLS that can be passed to the compiler(s), >> should be avoided as identifiers for naming variables, constants, enum >> members, macros etc. > > Why are you passing
2020 Apr 01
3
LLD default page size for arm32
...days we have been debugging a really thorny issue where binaries build with clang and linked with lld was just "Killed" when started on a specific armv7 device we ship on. After quite a bit of head scratching it turns out that the kernel on this device ships with a 32k default page size (getconf PAGESIZE) and lld uses 4k default page size. We fixed this by passing -zmax-page-size=0x10000 to lld. The default page size in GNU ld for arm is 64k so binaries linked with ld just worked on this device. I put the question in the discord lld channel and after a bit back and forth I think it'...
2009 May 15
1
meetme dies looking for conf-getconfno
...put in conference. But here's what happens when I dial 2663: -- Starting simple switch on 'DAHDI/1-1' -- Executing [2663 at internal:1] MeetMe("DAHDI/1-1", ",D") in new stack [2009-05-15 13:21:19] WARNING[2061]: file.c:641 ast_openstream_full: File conf-getconfno does not exist in any format [2009-05-15 13:21:19] WARNING[2061]: file.c:924 ast_streamfile: Unable to open conf-getconfno (format 0x4 (ulaw)): No such file or directory == Spawn extension (internal, 2663, 1) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' conf-get...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...ek via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > I switched from "configure and make" to "cmake" build-system and > wanted to speedup my build. > > In my build-script I use... > > CMAKE_JOBS="1" > ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) > JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS > -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" > > [1] says in "LLVM-specific variables" section... > > *** LLVM_PARALLEL_COMPILE_JOBS:STRING > > Define the maximum number of...
2016 Feb 25
0
Building with LLVM_PARALLEL_XXX_JOBS
...gt;> Hi, >>> >>> I switched from "configure and make" to "cmake" build-system and >>> wanted to speedup my build. >>> >>> In my build-script I use... >>> >>> CMAKE_JOBS="1" >>> ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) >>> JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS >>> -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" >>> >>> [1] says in "LLVM-specific variables" section... >>> >>> *** LLVM_PARALLEL_COMPILE_JOBS:S...
2016 Feb 25
4
Building with LLVM_PARALLEL_XXX_JOBS
...s.llvm.org> wrote: >> >> Hi, >> >> I switched from "configure and make" to "cmake" build-system and >> wanted to speedup my build. >> >> In my build-script I use... >> >> CMAKE_JOBS="1" >> ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) >> JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS >> -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" >> >> [1] says in "LLVM-specific variables" section... >> >> *** LLVM_PARALLEL_COMPILE_JOBS:STRING >> >>...
2016 Feb 25
2
Building with LLVM_PARALLEL_XXX_JOBS
Hi, I switched from "configure and make" to "cmake" build-system and wanted to speedup my build. In my build-script I use... CMAKE_JOBS="1" ##CMAKE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$CMAKE_JOBS -DLLVM_PARALLEL_LINK_JOBS=$CMAKE_JOBS" [1] says in "LLVM-specific variables" section... *** LLVM_PARALLEL_COMPILE_JOBS:STRING Define the maximum number of concurrent compilation jobs. *** LLVM_P...
2013 Apr 16
1
update config.guess and config.sub to support aarch64
Hello, would it be possible to update config.sub and config.guess to the latest versions (or at least version from automake-1.13.1) in order to support new architectures based on the ARM 64 bit CPU? Patch: http://plautrba.fedorapeople.org/openssh/openssh-latest-config.sub-config.guess.patch Related Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=926284 Thanks, Petr
2002 May 20
0
Rsync and files larger than 2 GB in size on HP-UX 64bit
...ut it does not work correctly on my platform which is an: 9000/800/N4000-55 with 64bit hp-ux using HP's C compiler (B3901BA) i solved the problem by building rsync as a 64 bit application: CFLAGS='+O3 +DD64' ./configure --prefix=/opt/rsync could you please add this flag to configure if getconf KERNEL_BITS returns 64 regards, L. P.S. i am not on this list so please flame me privately -- Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
2007 Nov 12
2
mounting filesystems with blocks larger then 4k over a loop device
So I'm playing around with S3 and elasticdrive, and I create a filesystem on it with a block size larger then 4k. mkfs.xfs -b size=8k /mnt/ed5/ed0 -f This completes fine and sets up the proper filesystem. When I try to mount it, however, I get: mount /mnt/ed5/ed0 /mnt/eds35/ -o loop mount: Function not implemented looking at dmesg I get: XFS: Attempted to mount file system with
2016 Mar 12
4
Building with LLVM_PARALLEL_XXX_JOBS
...# NOTE-1: cmake/ninja: Use LLVM_PARALLEL_COMPILE_JOBS and LLVM_PARALLEL_LINK_JOBS options # NOTE-2: For fast builds use available (online) CPUs +1 or set values explicitly # NOTE-3: For fast and safe linking use bintils-gold and LINK_JOBS="1" COMPILE_JOBS="2" ##COMPILE_JOBS=$(($(getconf _NPROCESSORS_ONLN)+1)) LINK_JOBS="1" JOBS_CMAKE_OPTS="-DLLVM_PARALLEL_COMPILE_JOBS=$COMPILE_JOBS -DLLVM_PARALLEL_LINK_JOBS=$LINK_JOBS" # Cmake linker options (here: Use binutils-gold to speedup build) LINKER="/usr/bin/ld.gold" CMAKE_LINKER="$LINKER" CMAKE_LIN...