Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable library for Linux on Z (s390x) #128

Closed
edelsohn opened this issue Jul 8, 2021 · 5 comments
Closed

Enable library for Linux on Z (s390x) #128

edelsohn opened this issue Jul 8, 2021 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@edelsohn
Copy link
Contributor

edelsohn commented Jul 8, 2021

Add support for Linux on IBMz (s390x) 64-bit architecture.

ISA:
https://linux.mainframe.blog/zarchitecture-principles-of-operation/

Free access to Linux on Z VM:
https://linuxone.cloud.marist.edu/#/register?flag=VM

@hannesm hannesm added enhancement New feature or request help wanted Extra attention is needed labels Jul 8, 2021
@avsm
Copy link
Member

avsm commented Jul 9, 2021

We won't be adding support to a crypto library for something we cannot ensure the quality of on an ongoing basis. @edelsohn, would you mind emailing me on anil@recoil.org about this request? We need access to a reasonable number of Z cores (not the tiny free plan) in order to do end-to-end package builds.

When I enquired last year, I was emailed by meredith.stowell@us.ibm.com on 2nd Dec 2020 who said:

We have a number of options to access s390x systems for academic, research, and open source community projects. Let me pull a few of our technical resources together to better understand your project and requirements so we can look at various options. I will get back to you to schedule a call once I have identified the colleagues to include.

And then she stopped responding altogether despite multiple emails from me.

I don't have the capacity to chase up anyone through the IBM organisation. If you have someone else who could get us access to a stable, and reasonable number of cores to do bulk package builds, then we can support Z. By comparison, we have ~1000 cores in our x86 build pool, and ~400 in our arm64 pool (https://github.com/WorksOnArm/cluster/issues/279), and ~160 in our ppc64le pool. These would be available for all OCaml package builds, not just mirage-crypto.

@edelsohn
Copy link
Contributor Author

edelsohn commented Jul 9, 2021

Are the numbers of "cores" referring to hardware threads or to processor cores? I suspect that they refer to hardware threads as shown by Linux /proc/cpuinfo. There is a big difference.

Also, s390x systems have different performance characteristics from other systems, so forecasting resource requirements based on x86 systems is not accurate. Starting a conversation with "we want 100's or 1000's of s390x cores" is not productive.

@edelsohn
Copy link
Contributor Author

I'm happy to work with the OCaml community to provide long-term access to Linux on s390x systems. I sent you private email.

@avsm
Copy link
Member

avsm commented Jul 22, 2021

Update: I've got a VM now and am getting the base image builder hooked up. A manual run has succeeded with OCaml 4.12 images, so it should be straightforward.

@hannesm
Copy link
Member

hannesm commented Jul 23, 2021

thanks for your issue, and your pull request that I just merged. I opened a new issue, #131 with further s390x improvements.

@hannesm hannesm closed this as completed Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants