Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-28 Thread Segher Boessenkool via cfarm-users
On Tue, Nov 27, 2018 at 07:38:18AM +0100, Brice Goglin wrote: > Le 27/11/2018 à 02:05, Segher Boessenkool a écrit : > > Cool stuff :-) > > gcc110 (a power7, 2 packages, 16 cores, 64 threads): > > $ hwloc-ls -s --no-io > > depth 0:1 Machine (type #1) > > depth 1: 2 NUMANode (type #2) > > de

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-27 Thread Anatoly Pugachev via cfarm-users
On Tue, Nov 27, 2018 at 12:48 AM Baptiste Jonglez via cfarm-users wrote: > On 25-11-18, Segher Boessenkool via cfarm-users wrote: > > On Sun, Nov 25, 2018 at 01:14:31PM +0100, Stefan Ring via cfarm-users wrote: > > > On Sun, Nov 25, 2018 at 10:25 AM Baptiste Jonglez via cfarm-users > > > wrote: >

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Brice Goglin via cfarm-users
Le 27/11/2018 à 02:05, Segher Boessenkool a écrit : > Cool stuff :-) > gcc110 (a power7, 2 packages, 16 cores, 64 threads): > $ hwloc-ls -s --no-io > depth 0: 1 Machine (type #1) > depth 1: 2 NUMANode (type #2) > depth 2:16 Package (type #3) >depth 3: 16 L3Cache (type #4) >

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Segher Boessenkool via cfarm-users
On Tue, Nov 27, 2018 at 12:10:27AM +0100, Brice Goglin via cfarm-users wrote: > Instead of hardwiring Linux-specific things, many projects now just use > hwloc [1] to get such kind of topology information in a portable way > (that's what I use cfarm for). On the command-line, you'd just do > "hwloc

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Brice Goglin via cfarm-users
Le 27/11/2018 à 00:01, Segher Boessenkool via cfarm-users a écrit : > >> Ansible parses /proc/cpuinfo: >> >> >> https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/facts/hardware/linux.py#L181 >> >> Do you know how lscpu gets its information? > It uses /proc/cpuinfo, and /sys/

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Segher Boessenkool via cfarm-users
On Mon, Nov 26, 2018 at 10:46:39PM +0100, Baptiste Jonglez wrote: > On 25-11-18, Segher Boessenkool via cfarm-users wrote: > > On Sun, Nov 25, 2018 at 01:14:31PM +0100, Stefan Ring via cfarm-users wrote: > > > On Sun, Nov 25, 2018 at 10:25 AM Baptiste Jonglez via cfarm-users > > > wrote: > > > > >

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Andreas Schwab via cfarm-users
On Nov 26 2018, Baptiste Jonglez via cfarm-users wrote: > Do you know how lscpu gets its information? It uses /sys/devices/system/cpu. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread CM Graff via cfarm-users
Hey everyone. Anecdotally, strace lscpu 2> logfile cat logfile shows a number of parses of /sys followed by some parsing of /proc specifically: open("/proc/cpuinfo", O_RDONLY) = 3 uname({sysname="Linux", nodename="cgraff1-host", ...}) = 0 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Baptiste Jonglez via cfarm-users
On 25-11-18, Segher Boessenkool via cfarm-users wrote: > On Sun, Nov 25, 2018 at 01:14:31PM +0100, Stefan Ring via cfarm-users wrote: > > On Sun, Nov 25, 2018 at 10:25 AM Baptiste Jonglez via cfarm-users > > wrote: > > > > > > According to ansible [https://cfarm.tetaneutral.net/machines/list/] gcc

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-26 Thread Ævar Arnfjörð Bjarmason via cfarm-users
On Mon, Nov 26 2018, David Edelsohn wrote: > On Sun, Nov 25, 2018 at 6:16 PM Ævar Arnfjörð Bjarmason > wrote: >> >> >> +CC cfarm-admins@ >> >> On Sun, Nov 25 2018, David Edelsohn via cfarm-users wrote: >> >> > On Sat, Nov 24, 2018 at 5:53 PM Segher Boessenkool via cfarm-users >> > wrote: >> >>

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread David Edelsohn via cfarm-users
On Sun, Nov 25, 2018 at 6:16 PM Ævar Arnfjörð Bjarmason wrote: > > > +CC cfarm-admins@ > > On Sun, Nov 25 2018, David Edelsohn via cfarm-users wrote: > > > On Sat, Nov 24, 2018 at 5:53 PM Segher Boessenkool via cfarm-users > > wrote: > >> > >> Hi! > >> > >> On Sat, Nov 24, 2018 at 11:28:58PM +010

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Ævar Arnfjörð Bjarmason via cfarm-users
+CC cfarm-admins@ On Sun, Nov 25 2018, David Edelsohn via cfarm-users wrote: > On Sat, Nov 24, 2018 at 5:53 PM Segher Boessenkool via cfarm-users > wrote: >> >> Hi! >> >> On Sat, Nov 24, 2018 at 11:28:58PM +0100, Ævar Arnfjörð Bjarmason via >> cfarm-users wrote: >> > I got access to the farm a

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread David Edelsohn via cfarm-users
On Sat, Nov 24, 2018 at 5:53 PM Segher Boessenkool via cfarm-users wrote: > > Hi! > > On Sat, Nov 24, 2018 at 11:28:58PM +0100, Ævar Arnfjörð Bjarmason via > cfarm-users wrote: > > I got access to the farm a while ago to test free software projects I > > work on, mainly git.git. I wanted to send

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Segher Boessenkool via cfarm-users
On Sun, Nov 25, 2018 at 02:57:09PM +0100, Ævar Arnfjörð Bjarmason wrote: > On Sun, Nov 25 2018, Segher Boessenkool via cfarm-users wrote: > > On Sun, Nov 25, 2018 at 10:23:41AM +0100, Baptiste Jonglez wrote: > >> On 24-11-18, Segher Boessenkool via cfarm-users wrote: > >> > On Sat, Nov 24, 2018 at

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Ævar Arnfjörð Bjarmason via cfarm-users
On Sun, Nov 25 2018, Segher Boessenkool via cfarm-users wrote: > On Sun, Nov 25, 2018 at 10:23:41AM +0100, Baptiste Jonglez wrote: >> On 24-11-18, Segher Boessenkool via cfarm-users wrote: >> > On Sat, Nov 24, 2018 at 11:28:58PM +0100, Ævar Arnfjörð Bjarmason via >> > cfarm-users wrote: >> > > I

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Segher Boessenkool via cfarm-users
On Sun, Nov 25, 2018 at 01:14:31PM +0100, Stefan Ring via cfarm-users wrote: > On Sun, Nov 25, 2018 at 10:25 AM Baptiste Jonglez via cfarm-users > wrote: > > > > According to ansible [https://cfarm.tetaneutral.net/machines/list/] gcc112 > > has 160 cores, and gcc135 has 128 cores. Is ansible gett

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Segher Boessenkool via cfarm-users
On Sun, Nov 25, 2018 at 10:23:41AM +0100, Baptiste Jonglez wrote: > On 24-11-18, Segher Boessenkool via cfarm-users wrote: > > On Sat, Nov 24, 2018 at 11:28:58PM +0100, Ævar Arnfjörð Bjarmason via > > cfarm-users wrote: > > > I've tried to be conservative about resources. It's all nice -n 19'd, >

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Stefan Ring via cfarm-users
On Sun, Nov 25, 2018 at 10:25 AM Baptiste Jonglez via cfarm-users wrote: > > According to ansible [https://cfarm.tetaneutral.net/machines/list/] gcc112 > has 160 cores, and gcc135 has 128 cores. Is ansible getting this wrong? 8 threads per core. It really does not make sense to target more than

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-25 Thread Baptiste Jonglez via cfarm-users
Hi, On 24-11-18, Segher Boessenkool via cfarm-users wrote: > On Sat, Nov 24, 2018 at 11:28:58PM +0100, Ævar Arnfjörð Bjarmason via > cfarm-users wrote: > > I got access to the farm a while ago to test free software projects I > > work on, mainly git.git. I wanted to send a headsup about what I've

Re: [cfarm-users] Setting up GitLab CI for git.git on the farm

2018-11-24 Thread Segher Boessenkool via cfarm-users
Hi! On Sat, Nov 24, 2018 at 11:28:58PM +0100, Ævar Arnfjörð Bjarmason via cfarm-users wrote: > I got access to the farm a while ago to test free software projects I > work on, mainly git.git. I wanted to send a headsup about what I've been > up to. > > I'm setting up something where the integrat