Re: Multithreading on z/Linux

2019-03-11 Thread Fred Bader

A couple of things come to mind.  First, is the z/VM that the Linux guest
is running under, part of an SSI cluster?  If so, is one of the members of
the SSI cluster still running on an zEC12 and is the Linux guest part of a
relocation domain that includes the zEC12?   If a Linux guest is part of a
relocation domain that has different processors in the cluster (e.g.,
zEC12, z13, z14), then Q CPUS and cat/proc/cpuinfo will show the "least
capable" processor (i.e., zEC12).  This is because if the Linux guest was
brought up on the z14 and starting using features that didn't exist on
older processors, and then if was relocated to the zEC12, it would get
errors when it tried to use those features.  To prevent that from
happening, the Linux guest will be told it is running on the "least
capable" processor that is part of the relocation domain the guest is in.

Second, MT=2 is only applicable to the IFLs available to the z/VM host
(i.e., the Linux guest only sees the number virtual CPUs defined via its
directory entry).  If you want your Linux guest to be able to run more
concurrent threads, then after you've enabled SMT2 in the z/VM host, you
can assign more virtual CPUs to your Linux guest.

Regards, Fred
_

   Fred Bader, Washington Systems Ctr (WSC) IBM Z Applied Technologies
   IBM Corp, 470 Springpark Pl, Suite 950/1000, Herndon, VA 20170-5253
   E-mail: fba...@us.ibm.com, Phone: 720-395-, Tieline: 676-

IBM Z - "The foundation of trusted digital experiences"
http://www.ibm.com/systems/z/ - http://www.ibm.com/z14




From:   Victor Echavarry 
To: LINUX-390@VM.MARIST.EDU
Date:   03/11/2019 04:20 PM
Subject:Multithreading on z/Linux
Sent by:Linux on 390 Port 



Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also,
activate the multithread feature under VM with SET MT TYPE IFL 2. Checking
one of our Linux guest and do a CPUINFO it shows no thread and the old
machine number

cat /proc/cpuinfo
vendor_id   : IBM/S390
# processors: 2
bogomips per cpu: 21881.00
max thread id   : 0
features: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs
te s
ie
facilities  : 0 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24
25 26
27 28 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 48 49 50 51 52 57 73
74 7
5 76 77 81 82 1024 1025 1026 1027 1028 1030 1031 1032 1033 1034 1036 1038
1039 1
040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1054 1055
1056 1
057 1058 1059 1060 1061 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073
1074 1
075 1076 1081 1097 1098 1099 1100 1101 1105
cache0  : level=1 type=Data scope=Private size=96K line_size=256
associa
tivity=6
cache1  : level=1 type=Instruction scope=Private size=64K
line_size=256
associativity=4
cache2  : level=2 type=Data scope=Private size=1024K line_size=256
assoc
iativity=8
cache3  : level=2 type=Instruction scope=Private size=1024K
line_size=25
6 associativity=8
cache4  : level=3 type=Unified scope=Shared size=49152K
line_size=256 as
sociativity=12
cache5  : level=4 type=Unified scope=Shared size=393216K
line_size=256 a
ssociativity=24
processor 0: version = FF,  identification = 0269C7,  machine = 2827
processor 1: version = FF,  identification = 0269C7,  machine = 2827

Do we need to run something at the Linux site to activate or refresh the
machine and multithread?

We have z/VM 6.4 and SLES 12

Regards,

Victor Echavarry

System Programmer

Operating Systems









WARNING: This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please delete it
immediately. Please note that any views or opinions presented in this email
are solely those of the author and do not necessarily represent those of
EVERTEC, Inc. or its affiliates. Finally, the integrity and security of
this message cannot be guaranteed on the Internet, and as such EVERTEC,
Inc. and its affiliates accept no liability for any damage caused by any
virus transmitted by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390=DwIFAg=jf_iaSHvJObTbx-siA1ZOg=NDb6JAokvZ4j4NXrlZCqVR9n7G77aj-G5tSt1q3XgAM=chmO6jEtlRoJ5F0oczKYKg1ZArDHu1YITQYomzoWQUU=vtc0DJqsiQ9TIiC1TZQl3YzK5411pK2hYOPR7l83wFM=





--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



Re: Multithreading on z/Linux

2019-03-11 Thread Victor Echavarry
Thanks Allan

Victor Echavarry
System Programmer
Operating Systems



-Original Message-
From: Linux on 390 Port  On Behalf Of Alan Altmark
Sent: Monday, March 11, 2019 4:49 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Multithreading on z/Linux

On Monday, 03/11/2019 at 08:19 GMT, Victor Echavarry 
 wrote:
> Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also,
activate
> the multithread feature under VM with SET MT TYPE IFL 2. Checking one
> of
our
> Linux guest and do a CPUINFO it shows no thread and the old machine
number

SET MULTITHREAD affects how CP utilizes the logical cores.  It has no
effect on virtual CPUs, so Linux will see only a single thread.  With
MT-2, there appear to be twice as many CPUs in the LPAR, so twice as many
execution contexts upon which to run a virtual CPU.

Alan Altmark

Senior Managing z/VM and Linux Consultant
IBM Systems Lab Services
IBM Z Delivery Practice
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Multithreading on z/Linux

2019-03-11 Thread Victor Echavarry
Thanks Mark

Victor Echavarry
System Programmer
Operating Systems



-Original Message-
From: Linux on 390 Port  On Behalf Of Mark Post
Sent: Monday, March 11, 2019 4:56 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Multithreading on z/Linux

On 3/11/19 3:21 PM, Victor Echavarry wrote:
> Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also,
> activate the multithread feature under VM with SET MT TYPE IFL 2.
> Checking one of our Linux guest and do a CPUINFO it shows no thread
> and the old machine number

If the CP Directory still defines virtual CPUs for the guest as CPU 00 CPU 01

then I would not expect Linux to see anything different about the processors.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Multithreading on z/Linux

2019-03-11 Thread Mark Post
On 3/11/19 3:21 PM, Victor Echavarry wrote:
> Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also, 
> activate the multithread feature under VM with SET MT TYPE IFL 2. Checking 
> one of our Linux guest and do a CPUINFO it shows no thread and the old 
> machine number

If the CP Directory still defines virtual CPUs for the guest as
CPU 00
CPU 01

then I would not expect Linux to see anything different about the
processors.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Multithreading on z/Linux

2019-03-11 Thread Alan Altmark
On Monday, 03/11/2019 at 08:19 GMT, Victor Echavarry 
 wrote:
> Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also, 
activate
> the multithread feature under VM with SET MT TYPE IFL 2. Checking one of 
our
> Linux guest and do a CPUINFO it shows no thread and the old machine 
number

SET MULTITHREAD affects how CP utilizes the logical cores.  It has no 
effect on virtual CPUs, so Linux will see only a single thread.  With 
MT-2, there appear to be twice as many CPUs in the LPAR, so twice as many 
execution contexts upon which to run a virtual CPU.

Alan Altmark

Senior Managing z/VM and Linux Consultant
IBM Systems Lab Services
IBM Z Delivery Practice
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Multithreading on z/Linux

2019-03-11 Thread Michel Beaulieu
Hello,

Have the Linux server been re-booted?
--
As far as I know,  /proc/cpuinfo is populated when the Linux server is IPL'ed  
booted.
May be you can try :lscpu
..
Under z/VM, Linux will not see the the logical cpu(s).
May be on z/VM, you can try:query proc exp

I hope this helps!

Michel Beaulieu
IBM Services (Canada)


From: Linux on 390 Port  on behalf of Victor Echavarry 

Sent: March 11, 2019 3:21 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Multithreading on z/Linux

Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also, activate 
the multithread feature under VM with SET MT TYPE IFL 2. Checking one of our 
Linux guest and do a CPUINFO it shows no thread and the old machine number

cat /proc/cpuinfo
vendor_id   : IBM/S390
# processors: 2
bogomips per cpu: 21881.00
max thread id   : 0
features: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te 
s   
 ie
facilities  : 0 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24 25 
26  
   27 28 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 48 49 50 51 52 
57 73 74 7  
  5 76 77 81 82 1024 1025 1026 1027 1028 1030 1031 1032 1033 
1034 1036 1038 1039 1   
 040 1041 1042 1043 1044 1045 1046 1047 1048 1049 
1050 1051 1052 1054 1055 1056 1 
   057 1058 1059 1060 1061 1064 1065 1066 
1067 1068 1069 1070 1071 1072 1073 1074 1   
 075 1076 1081 1097 1098 1099 
1100 1101 1105
cache0  : level=1 type=Data scope=Private size=96K line_size=256 
associa 
   tivity=6
cache1  : level=1 type=Instruction scope=Private size=64K line_size=256 

associativity=4
cache2  : level=2 type=Data scope=Private size=1024K line_size=256 
assoc   
 iativity=8
cache3  : level=2 type=Instruction scope=Private size=1024K 
line_size=25
6 associativity=8
cache4  : level=3 type=Unified scope=Shared size=49152K line_size=256 
as  
  sociativity=12
cache5  : level=4 type=Unified scope=Shared size=393216K line_size=256 
a   
 ssociativity=24
processor 0: version = FF,  identification = 0269C7,  machine = 2827
processor 1: version = FF,  identification = 0269C7,  machine = 2827

Do we need to run something at the Linux site to activate or refresh the 
machine and multithread?

We have z/VM 6.4 and SLES 12

Regards,

Victor Echavarry

System Programmer

Operating Systems









WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Multithreading on z/Linux

2019-03-11 Thread Victor Echavarry
Last weekend we migrate two of our LPARS from a EC12 to a z/14. Also, activate 
the multithread feature under VM with SET MT TYPE IFL 2. Checking one of our 
Linux guest and do a CPUINFO it shows no thread and the old machine number

cat /proc/cpuinfo
vendor_id   : IBM/S390
# processors: 2
bogomips per cpu: 21881.00
max thread id   : 0
features: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te 
s   
 ie
facilities  : 0 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24 25 
26  
   27 28 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 48 49 50 51 52 
57 73 74 7  
  5 76 77 81 82 1024 1025 1026 1027 1028 1030 1031 1032 1033 
1034 1036 1038 1039 1   
 040 1041 1042 1043 1044 1045 1046 1047 1048 1049 
1050 1051 1052 1054 1055 1056 1 
   057 1058 1059 1060 1061 1064 1065 1066 
1067 1068 1069 1070 1071 1072 1073 1074 1   
 075 1076 1081 1097 1098 1099 
1100 1101 1105
cache0  : level=1 type=Data scope=Private size=96K line_size=256 
associa 
   tivity=6
cache1  : level=1 type=Instruction scope=Private size=64K line_size=256 

associativity=4
cache2  : level=2 type=Data scope=Private size=1024K line_size=256 
assoc   
 iativity=8
cache3  : level=2 type=Instruction scope=Private size=1024K 
line_size=25
6 associativity=8
cache4  : level=3 type=Unified scope=Shared size=49152K line_size=256 
as  
  sociativity=12
cache5  : level=4 type=Unified scope=Shared size=393216K line_size=256 
a   
 ssociativity=24
processor 0: version = FF,  identification = 0269C7,  machine = 2827
processor 1: version = FF,  identification = 0269C7,  machine = 2827

Do we need to run something at the Linux site to activate or refresh the 
machine and multithread?

We have z/VM 6.4 and SLES 12

Regards,

Victor Echavarry

System Programmer

Operating Systems









WARNING: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of EVERTEC, 
Inc. or its affiliates. Finally, the integrity and security of this message 
cannot be guaranteed on the Internet, and as such EVERTEC, Inc. and its 
affiliates accept no liability for any damage caused by any virus transmitted 
by this email.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Writing the Definitive Systems Programmer Resume

2019-03-11 Thread Charles Reddan

I won't be attending, sad to say, but I would like to see the slides.
Thanks!

Chuck Reddan

On 3/11/2019 1:09 PM, Joe Gallaher wrote:

I would like to invite anyone attending next week's SHARE conference in
Phoenix to come to my session entitled "Writing the Definitive Systems
Programmer Resume" (session 2, Wednesday, March 13, 2019: 1:45 PM-2:45
PM).  This will be the 12th time I have given this presentation at SHARE and
it contains a lot of useful information and samples for the aspiring resume
writer. Here is a link to my session:



https://events.share.org/Winter2019/Public/SessionDetails.aspx?FromPage=Sess
ions.aspx
 =8130



If you cannot attend, feel free to send me an email (or LinkedIn message)
and I will send you a link to my PowerPoint slides.



Joe Gallaher

j...@spci.net
323-822-1569
323-363-7259 (cell)
   www.SPCI.net
   www.linkedin.com/in/joegallaher

You wouldn't hire a COBOL programmer to install your operating system. Why
use an applications recruiter for your systems management needs?




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Writing the Definitive Systems Programmer Resume

2019-03-11 Thread Joe Gallaher
I would like to invite anyone attending next week's SHARE conference in
Phoenix to come to my session entitled "Writing the Definitive Systems
Programmer Resume" (session 2, Wednesday, March 13, 2019: 1:45 PM-2:45
PM).  This will be the 12th time I have given this presentation at SHARE and
it contains a lot of useful information and samples for the aspiring resume
writer. Here is a link to my session:



https://events.share.org/Winter2019/Public/SessionDetails.aspx?FromPage=Sess
ions.aspx
 =8130



If you cannot attend, feel free to send me an email (or LinkedIn message)
and I will send you a link to my PowerPoint slides.



Joe Gallaher

j...@spci.net
323-822-1569
323-363-7259 (cell)
  www.SPCI.net
  www.linkedin.com/in/joegallaher

You wouldn't hire a COBOL programmer to install your operating system. Why
use an applications recruiter for your systems management needs?




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390