Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: 1 ... 236 237 [238] 239 240 ... 321
3556
kbuild-make is gnumake and the usual one to use.

3557
Searching for sysinfo.h results in
Quote
sysinfo struct in linux/kernel.h
so whatever code uses it won't compile on OS/2 without porting or may be unneeded. Better to search for a cross platform benchmark.
Quickly looking I found this, http://www.math.utah.edu/~mayer/linux/bmark.html which compiles fine with a bit of makefile editing. Change the CFLAGS line to remove -static and add -Zomf for a quick compile. Should have the targets adjusted by adding .exe and the clean rule changed from /bin/rm to rm and possibly other changes.
Some of my results are low so possibly needs some code changes, perhaps something is overflowing. There's a more up to date port here, https://www.freshports.org/benchmarks/nbench/ if you can figure out how to download the source.

Quote
H:\tmp\nbench-byte-2.2.3>nbench.exe

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          652.56  :      16.74  :       5.50
STRING SORT         :          69.906  :      31.24  :       4.83
BITFIELD            :      3.7866e+08  :      64.95  :      13.57
FP EMULATION        :          103.23  :      49.53  :      11.43
FOURIER             :           13282  :      15.11  :       8.48
ASSIGNMENT          :          23.981  :      91.25  :      23.67
IDEA                :          3222.6  :      49.29  :      14.63
HUFFMAN             :          1618.9  :      44.89  :      14.34
NEURAL NET          :          24.707  :      39.69  :      16.70
LU DECOMPOSITION    :          1091.8  :      56.56  :      40.84
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 44.389
FLOATING-POINT INDEX: 32.367
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 :
L2 Cache            :
OS                  : OS/2 1
C compiler          : gcc version 4.9.2 (GCC)
libc                :
MEMORY INDEX        : 11.579
INTEGER INDEX       : 10.714
FLOATING-POINT INDEX: 17.952
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

3558
Applications / Re: Open Office 4.1
« on: February 14, 2018, 12:48:29 am »
libxslt, a lot, but not all, of these libraries are labeled with the lib prefix.

3559
Applications / Re: Open Office 4.1
« on: February 13, 2018, 06:00:38 pm »
IIRC, another gotta is that there are 2 icu packages, icu and libicu. One is needed by Mozilla and the other is needed by OpenOffice.

3560
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 11:49:13 pm »
2 Dave Yeo:

Quote
Cdrecord-ProDVD-ProBD 3.01 (i386-pc-os2-gnu) Copyright (C) 1995-2015 Joerg Schilling

Where did you took 3.01? Is this available from ArcaNoae repositories only? Access to non-arca users is closed?

It is on the ISO, here, J:\CID\SERVER\RPM\LOCALREP\cdrtools-3.01.1-1.oc00.i386.rpm on a recent beta version.

3561
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 09:34:25 pm »
ArcaOS installs cdrecord in @UNIXROOT\usr\bin and running cdrecord --help will output all the commands.
It is
Quote
Cdrecord-ProDVD-ProBD 3.01 (i386-pc-os2-gnu) Copyright (C) 1995-2015 Joerg Schilling

Cdrecord is/was officially supported by Joerg, at least with building with old toolchain and EMX. Note that Joerg started selling DVD support at one point and changed the license. The Linux folks forked the last GPL version.
I think OS2AHCI supports a SCSI emulation layer and works with AHCI connected drives.

3562
Hi Dariusz, there's 2 main things to consider when trying to figure out the closest CPU choice to what you're actually using, features and instruction ordering.
Feature wise, the P4 (RPM is only targeting the first generation P4) is ahead of i686 as it supports MMX, SSE and I believe SSE2, which are known as simd instructions. For regular programs, these usually don't matter, except programs that do a lot of floating point math may use SSE2 instead of i387 instructions depending on compiler settings. Note most programs don't use much in the way of floating point math. Multimedia apps, including Firefox also benefit from the simd instructions but most all dynamically check what CPU you have and enable the instructions. They often also have hand rolled assembly code to use the simd instructions and even where simd instructions are used by other stuff such as intl support in Firefox, both paths are compiled including SSE2 (-msse2 is the GCC option) and a runtime check decides which path to take. Note newer versions of Firefox (53+) require SSE2 now with a minimum CPU requirement of a Pentium M.
Instruction ordering is more important. Most all CPU's are pipelined and do speculative execution. If the instructions are ordered correctly, the CPU can dispatch more instructions per cycle and have less chance of needing to flush the pipeline and refill it. Most all Intel CPU's are descended from the i686 while the Netburst architecture was a completely different beast which used very different preferred instruction ordering. It's one of the reasons that generally a P4 was so slow compared to a P3. At one point I had a P4D running at 2.8 MHz and swapped the CPU for a 1.86Mhz C2D and it was at least 50% faster (and used half the power).
AMD processors use instruction ordering much closer to the i686 and for this reason i686 is the better choice compared to P4 (Netburst) for most programs and most multimedia apps including Firefox playing youtube videos will still use most all simd instructions that your CPU supports.
You should be able to find an open source CPU benchmark and test by compiling with various CPU architectures.
Really it would be nice if RPM supported a few more architectures such as the Pentium M or newer and RPM was a bit smarter about realizing that they're all i386 variants and allowed more mix and match.

3563
Storage / Re: Low level format error with JFS
« on: February 10, 2018, 01:54:12 am »
Assuming that you have the CHS values set up correctly, JFS shouldn't return errors doing a long format. You might want to try checking the disks with dfsee (dfsee.com, free for evaluation).
Another thing to consider on newer drives is that most now use 4k sectors and fake 512byte sectors. As JFS also defaults to 4k blocks, it is good to set the drive up so they're aligned.

3564
Programming / Re: Trying to build my First RPM Package
« on: February 10, 2018, 01:45:42 am »
RPM will replace Warpin packages in some cases (mostly newer software) as well as being used for ported software.

3565
Hardware / Re: Best FAT32 driver settings
« on: February 09, 2018, 06:45:26 pm »
Try testing without the cache options including the call.

3566
Programming / Re: Trying to build my First RPM Package
« on: February 08, 2018, 09:34:43 pm »
Quote
Is there any recommendation so I can capture all the console output?

Code: [Select]
cmd 2>&1 | tee cmd.logsubstituting your executable for cmd.

3567
Web applications / Re: REXX and 'mode'
« on: February 08, 2018, 09:29:38 pm »
Btw Ben, your gif triggers this,
Quote
Timestamp: 02/08/18 12:27:25 PM
Warning: Loading mixed (insecure) display content "http://www.sf-w.net/Pics/1/Ben_Dragon-100.gif" on a secure page
Source File: https://www.os2world.com/forum/index.php/topic,1650.0.html
Line: 0

In this new world of HTTPS everywhere.

3568
Web applications / Re: REXX and 'mode'
« on: February 08, 2018, 09:11:49 pm »
That was my thought, then I looked at some code. Here's a snippet from awget\awgexec.cmd.

Code: [Select]
/* adjust session window */
parse upper value cfg.downloads_window with show","rows","cols
"MODE "rows","cols

so it seems to be valid REXX, can't find anything in the documentation though.

3569
Programming / Re: Trying to build my First RPM Package
« on: February 08, 2018, 05:44:53 pm »
Here, it is in "os2-rpm-build"

3570
Setup & Installation / Re: Sort order for Qt 4 file open dialog
« on: February 07, 2018, 01:08:10 am »
What about ls -l or dir.exe -1 (one)

Pages: 1 ... 236 237 [238] 239 240 ... 321