| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
buildenv
- Remove internal z/OS test-host name from notes/review-2026-11-27.md,
web/layouts/home.html, and tests/zos/zosvars.{sh,exp} (making zosvars
portable to any z/OS LPAR by comparing against live ZOS_SYSNAME).
- Add GitHub Actions CI status badge to README.md.
- Bump buildenv version to 0.5.0 with ZOPEN_STABLE_URL, ZOPEN_STABLE_TAG
(v0.5.0-beta), ZOPEN_DEV_URL, and explicit empty ZOPEN_RUNTIME_DEPS.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DESIGN.md's "File tags" table said an ASCII build defers the tag on a `>`
target and takes the first writer's CCSID; sys_zos.c tags a file the shell
creates as IBM-1047 text and converts its own writes, and the paragraph "the
tag follows the writer" now says that deferred tags are the _TAG_REDIR_*
cases only. The shell's own stdout and stderr are in the table now, and the
reason the inherited conversion is harmless to a binary writer (gzip turns it
off, and tests/zos/tagging.sh checks the archive) is written down.
The specification records what a script reviewer needs: R-LEX-17 no longer
just ends the body at end of input, it says zash does not warn where bash
does, and the new zash-only error rule gives 127/126 for a script that cannot
be opened and 2 for a read error while input is being read. The PDF is
regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The host was verified with IBM make and IBM Open XL, in a copy of the tree
(`tar`, extract, `chtag -R -t -c ISO8859-1 .`, `/bin/make zos-check`):
plain `make` still dispatches to zos-ascii, both binaries build without a
warning, the ASCII suite is 112 passed / 6 skipped / 0 failed, and the
EBCDIC subset passes.
Two expectations cannot be the same on both hosts, so zash/script-errors
keeps the POSIX cases and is skipped on z/OS (a mode 000 script still runs
there, because bit mode does not decide access), and tests/zos/
script-errors records the z/OS side. notes/review-2026-11-27.md now has a
per-item status table, the investigation results and the z/OS run.
|
| |
|
|
|
|
|
|
|
| |
README's benchmark table is the 64-bit run with the run-time in the LPA
and zsh installed (it was the 2.1-era table, and its zsh column was the
31 ms start-up, not zsh). bench/README.md keeps the 2.1 numbers as the
history of what the LPA fixed, and gains the start-up table it now has a
measurement for. investigation.md's §2 recommendation was still "build
31-bit"; it now says what happened instead.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
zash is built 64-bit on z/OS now: -m64 for the ASCII and the EBCDIC
build and for the debug build, and `make` as well as `make zash` land
on zos-ascii there. The 31-bit build existed for the 64-bit start and
fork costs, which were the C run-time being loaded out of the linklist;
with CELQ* in the LPA the widths measure the same and the shell is
built at the width IBM builds for.
The catalog and dynamic-allocation modules are AMODE 31 and OS_UPSTACK
does not exist at -m64, so both are declared with plain OS linkage,
which is the 64-bit glue for an AMODE 31 callee. Neither module is
installed on the test system, so that path is unverified there;
csi_call() still catches a program check and retires the catalog.
IGGCSI00's VL bit comes from the width of a pointer, not 0x80000000.
Documentation follows: README gains a Recommendations section for the
LPA change and loses the 31-bit rationale; DESIGN.md's cost model,
catalog linkage and open questions match the measurements; bench/README
states the current width and the rerun numbers; investigation.md
records the decision.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
PROGLE already puts the 31-bit runtime in the dynamic LPA with three
LPA ADD statements, so the 64-bit one is a fourth statement there,
activated with SET PROG=LE and no IPL. Say where this LPAR keeps the
statements (LOADC3 -> SYS3.CBT.PARMLIB.V3R1, IEASYS01, PROGLE) and add
the SDSF exec and its batch JCL for re-applying them after an IPL.
|
| |
|
|
|
|
|
| |
Adding the CELQ members of CEE.SCEERUN2 to the dynamic LPA takes a
trivial 64-bit start from 5.83 ms to 1.63 ms, the fork() cost from
4.20 ms to 0.10 ms, and /bin/zsh from 31.4 ms to 3.6 ms. The 27x
ratio this repo has been explaining since PR #15 was a system not
following IBM's own advice for the 64-bit runtime.
|
| |
|
|
|
|
|
| |
* bench: keep the HLASM probe comments out of the continue column
Also fixes the tiny64.s header, which named tiny31.s.
* notes: the 64-bit runtime is loaded from the linklist, not the LPA
|
| |
|
|
|
|
|
|
|
| |
The probe sources only existed inline in the docs and in a scratch
directory on the z/OS box, so the numbers in bench/README.md could not be
reproduced from the repository. fk3.c (fork cost against parent storage),
tiny.c (start-up cost) and the HLASM pair tiny31.s/tiny64.s (start-up with
no C runtime) now live in bench/probes/, with run.sh building and timing
them at both widths; the docs point at them instead of repeating them.
|
| |
|
|
|
|
|
|
|
| |
* notes: plainer wording in the 64-bit start-up write-up
Same findings, less staging: no dash-as-connector, no bold cell, no
"not X but Y" contrast, and one space after a full stop like the rest
of the file. Also fixes "4-5 orders of magnitude" for a 5x difference.
* tests: clang-format spawn.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bench: time one start with a parent that is not an LE program
`bench/startup.sh` times a shell loop, so on z/OS every child pays the
31-bit shell's own price and the 64-bit start-up cost cannot be
separated from it. `tests/tools/spawn` forks one child at a time and
reports wall and child CPU per start, and `bench/le-init.sh` builds the
31-bit, 64-bit and HLASM programs it times in a work directory, so the
table needs nothing checked in but the script.
The child's environment is built by hand and passed to `execve`:
`putenv` after LE has initialized is not handed to the child, and
`_CEE_RUNOPTS` exported to an LE parent makes that parent's `execl`
fail, which a fork loop that does not check exit status reports as a
fast start.
* notes: the 64-bit start-up cost is LE waiting, not the address mode
Measured on the CBT z/OS 29.00 system: a 64-bit HLASM program with no
LE starts in 1.39 ms, the same source at -m32 in 1.5-1.8 ms, so the
address space, the loader and XPLINK are free. A -m64 start spends
4.5-28 ms before the first instruction of main, of which only 1.0-1.25
ms is charged to the child: the rest is wall time on something shared,
which does not overlap between concurrent starts while it is at 28 ms
and does once it drops to 5.8 ms. No _CEE_RUNOPTS option moves it.
That retracts an earlier POSIX(OFF) result in these notes: exporting the
option to an LE parent makes its execl fail, so the run timed failed
execs. Applied to the child, POSIX(OFF) changes nothing.
|
| |
|
|
|
|
|
|
|
| |
Plain sentences where the prose had decorative bold lead-ins, em dashes
and one-line closers. Claims, numbers and commands are unchanged, except
two corrections that the startup probe settled: README said the remaining
z/OS gap was the price of the address mode, and DESIGN's open question on
`a | b &` said the gain depended on the address mode. Both are the 64-bit
C run-time, not the address mode.
|
|
|
The assembler-vs-C experiment, its method and the questions it leaves
open get a tracked home outside the generated docs/ tree; bench/README
keeps the result table and points there.
|