46
Networking / Re: Updated Samba Client
« on: December 18, 2023, 05:25:47 am »Only thought is what's VIRTUALADDRESSLIMIT set to? Not that Samba should be using lots of RAM, but still of interest...
VIRTUALADDRESSLIMIT=2048
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
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.
Only thought is what's VIRTUALADDRESSLIMIT set to? Not that Samba should be using lots of RAM, but still of interest...
@Dariusz - FYI, there is a Jansson package at netlabs-exp. It seems to work OK here.
11:39:04.250:
NetDrive for OS/2(R) Control Program version 3.1.6.941 Nov 17 2019
11:39:04.250: 2023-12-17
11:39:04.250: NDFSDIR environment variable found: G:\util\NDFS
11:39:04.250: NetDrive working directory is G:\util\NDFS
11:39:04.250: File system driver name is NDFS32.
11:39:04.260: NetDrive configuration file 'G:\util\NDFS\ndctl.cfg' has been processed.
11:39:04.260: Registered Version
11:39:04.260: Registered to Dariusz Piatkowski
11:39:04.260: [ local] internal plugin has been initialized.
11:39:04.260: [ ndpftp] (level 2) plugin has been loaded.
11:39:04.260: [ ndpiso] (level 2) plugin has been loaded.
11:39:04.270: [ ndpdav] (level 2) plugin has been loaded.
11:39:04.280: NDF0033: The system can't load the module: JANSSON4
11:39:04.280: NDF0029: [ ndpsmb] plugin has not been loaded.
11:39:04.280: NDF0007: The system error is SYS0002
11:39:04.290: [ ndpnfs3] (level 3) plugin has been loaded.
11:39:04.290: Initialization completed. The control program is running.
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 4 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 6 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 7 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:39:04.420: NDF0045: Resource SMBFS (W) specified in file volumes.cfg, line 10 was not mounted
11:39:04.420: NDF0007: The system error is SYS0050
11:40:48.410: NetDrive Control Program has been interrupted by File System Driver.
NDF0033: The system can't load the module: JANSSON4
having selected the MEDIUM size option I came to discover what I felt was a rather curious font/sizing choice for the default XWP menu, that being: '9. WarpSans Bold'. [...] it feels (again, VERY subjective lol) like the [non-Bold] 10 pt is the better fitting size.
My overriding goal In implementing 'Text Size' was "user acceptance". Put another way, avoiding anything that would give people a reason for not using a feature that would clearly benefit them.
First and foremost in the list of things to avoid was any consideration of aesthetics. I fully agree with you that 'WarpSans Bold' at any size is a lousy font for menus. But, after all these years of people not complaining about it, it wasn't for me to go changing the status quo. By having Text Size use the exact same fonts that have been in place since eCS 1.0, no one can claim "aesthetic degradation" as a reason for not using it.
...
12-15-23 11:44p 11,736 0 a--- 192.168.1.10_20231215.txt
12-14-23 9:55p 4,362 0 a--- 192.168.1.10_20231214.txt
Installed Packages
python-rpm-macros.noarch 3.9-3.oc00
python-srpm-macros.noarch 3.9-3.oc00
python-unversioned-command.pentium4 3.9.17-1.oc00
python2-dateutil.noarch 1:2.8.1-3.oc00
python2-deltarpm.pentium4 3.6-1.oc00
python2-libxml2.pentium4 2.9.10-3.oc00
python2-pycurl.pentium4 7.44.1-3.oc00
python2-rpm.pentium4 4.13.0-20.oc00
python2-six.noarch 1.10.0-2.oc00
python2.7.pentium4 2.7.18-3.oc00
python3.pentium4 3.9.17-1.oc00
python3-dateutil.noarch 1:2.8.1-3.oc00
python3-libs.pentium4 3.9.17-1.oc00
python3-pycurl.pentium4 7.44.1-3.oc00
python3-six.noarch 1.10.0-2.oc00
Playing with the new Text Size - was on Standard - I selected Medium size, clicked Test and was a bit surprised to see the Properties notebook shrink in size. Is that supposed to happen?
Absolutely!
The size of dialog windows and their contents is proportional to the size of the default system font. IOW, a bigger font produces bigger dialogs. This worked great back in the days when all dialogs used the default font (System Proportional) for their text. As the font size increased, the dialogs automatically grew to accommodate. Then along came WarpSans...
...
'Text Size' addresses this by *always* setting the default system font to a size that will comfortably handle whatever size of WarpSans you choose. For the "Small" and "Medium" (9 and 10pt WarpSans) sizes, that's 10pt System Proportional. The result is dialogs that are the "correct" size - in this case, smaller.
Note: if you use SNAP/Scitech Graphics, please remove any SET SDDFONTSIZE= or SET SDDFONTDPI= entries from 'config.sys' before rebooting to ensure expected results.
For the record, to clear up any confusion: ANPM does use Python 2. (Blame the Python guys for deciding to make Python 3 a different i.e. incompatible scripting language from Python 2.)...
...
Module: TEMPLATE
Description: VisPro/REXX Runtime Version 2.01, COPYRIGHT (c)
HockWare Inc. 1994
Executable format level: 0
CPU type: Intel 80386 or upwardly compatible
Operating system: Operating System/2
Module type: Program
NO internal fixups in executable image
Application type: Uses PM Windowing API
...
Installed Packages
python-pycurl.pentium4 7.19.5.1-2.oc00 installed
python-rpm-macros.noarch 3.9-3.oc00 installed
python-srpm-macros.noarch 3.9-3.oc00 installed
python-unversioned-command.pentium4 3.9.17-1.oc00 installed
python2-deltarpm.pentium4 3.6-1.oc00 installed
python2-libxml2.pentium4 2.9.10-3.oc00 installed
python2-rpm.pentium4 4.13.0-20.oc00 installed
python2.7.pentium4 2.7.18-3.oc00 installed
python3.pentium4 3.9.17-1.oc00 installed
python3-dateutil.noarch 1:2.8.1-3.oc00 installed
python3-libs.pentium4 3.9.17-1.oc00 installed
python3-pycurl.pentium4 7.44.1-3.oc00 installed
python3-six.noarch 1.10.0-2.oc00 installed
Hmm, I never forced any Python upgrades besides the python2.7/python3 one and see I have python2-pycurl and python3-pycurl installed. Lots of things are python2 including ANPM.
If yum itself works, install python2-curl or perhaps download the zip and install the 8 files manually to get ANPM working then install the package.
[G:\]rpm -i /test/python-pycurl-7.19.5.1-2.oc00.pentium4.rpm
error: Failed dependencies:
python-pycurl < 7.44.1-3.oc00 is obsoleted by (installed) python3-pycurl-7.44.1-3.oc00.pentium4
[G:\]rpm -ivh --nodeps /test/python-pycurl-7.19.5.1-2.oc00.pentium4.rpm
Preparing... ################################# [100%]
Updating / installing...
1:python-pycurl-7.19.5.1-2.oc00 ################################# [100%]
[G:\]yum install python3 python2.7
Loaded plugins: changelog, downloadonly, ps, replace, verify
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-comp
lete-transaction first to finish them.
--> Running transaction check
---> Package python2.7.pentium4 0:2.7.18-3.oc00 will be installed
--> Processing Dependency: python-rpm-macros for package: python2.7-2.7.18-3.oc00.pentium4
--> Processing Dependency: python-srpm-macros for package: python2.7-2.7.18-3.oc00.pentium4
---> Package python3.pentium4 0:3.9.17-1.oc00 will be installed
--> Processing Dependency: python3-libs = 3.9.17-1.oc00 for package: python3-3.9.17-1.oc00.pentium4
--> Processing Dependency: python39.dll for package: python3-3.9.17-1.oc00.pentium4
--> Running transaction check
---> Package python-libs.pentium4 0:2.7.6-25.oc00 will be obsoleted
--> Processing Dependency: python-libs = 2.7.6-25.oc00 for package: python-2.7.6-25.oc00.pentium4
---> Package python-rpm-macros.noarch 0:3.9-3.oc00 will be installed
---> Package python-srpm-macros.noarch 0:3.9-3.oc00 will be installed
---> Package python3-libs.pentium4 0:3.9.17-1.oc00 will be obsoleting
--> Running transaction check
---> Package python.pentium4 0:2.7.6-25.oc00 will be obsoleted
---> Package python-unversioned-command.pentium4 0:3.9.17-1.oc00 will be obsoleting
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
python-unversioned-command pentium4 3.9.17-1.oc00 netlabs-rel 8.6 k
replacing python.pentium4 2.7.6-25.oc00
python2.7 pentium4 2.7.18-3.oc00 netlabs-rel 18 M
python3 pentium4 3.9.17-1.oc00 netlabs-rel 22 k
python3-libs pentium4 3.9.17-1.oc00 netlabs-rel 13 M
replacing python-libs.pentium4 2.7.6-25.oc00
Installing for dependencies:
python-rpm-macros noarch 3.9-3.oc00 netlabs-rel 9.1 k
python-srpm-macros noarch 3.9-3.oc00 netlabs-rel 15 k
Transaction Summary
================================================================================
Install 6 Packages
Total download size: 30 M
Is this ok [y/N]:
INPUT => Y
Downloading Packages:
(1/6): python-rpm-ma | 9.1 kB 00:00
(2/6): python-srpm-m | 15 kB 00:00
(3/6): python-unvers | 8.6 kB 00:00
(4/6): python2.7-2.7 | 18 MB 00:07 ====-] 2.1 MB/s | 17 MB 00:00 ETA
(5/6): python3-3.9.1 | 22 kB 00:00
(6/6): python3-libs- | 13 MB 00:05 ==== ] 1.9 MB/s | 12 MB 00:00 ETA
--------------------------------------------------------------------------------
Total 2.2 MB/s | 30 MB 00:13
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : python-srpm-macros-3.9-3.oc00.noarch 1/8
Installing : python3-libs-3.9.17-1.oc00.pentium4 2/8
Installing : python3-3.9.17-1.oc00.pentium4 3/8
Installing : python-rpm-macros-3.9-3.oc00.noarch 4/8
Installing : python2.7-2.7.18-3.oc00.pentium4 5/8
Installing : python-unversioned-command-3.9.17-1.oc00.pentium4 6/8
Erasing : python-2.7.6-25.oc00.pentium4 7/8
Erasing : python-libs-2.7.6-25.oc00.pentium4 8/8
Rpmdb checksum is invalid: dCDPT(pkg checksums): python3-libs.pentium4 0:3.9.17-1.oc00 - u
Installed Packages
python-dateutil.noarch 2.6.0-1.oc00 installed
python-pycurl.pentium4 7.19.5.1-2.oc00 installed
python-rpm-macros.noarch 3.9-3.oc00 installed
python-srpm-macros.noarch 3.9-3.oc00 installed
python-unversioned-command.pentium4 3.9.17-1.oc00 installed
python2-deltarpm.pentium4 3.6-1.oc00 installed
python2-libxml2.pentium4 2.9.10-3.oc00 installed
python2-rpm.pentium4 4.13.0-20.oc00 installed
python2.7.pentium4 2.7.18-3.oc00 installed
python3.pentium4 3.9.17-1.oc00 installed
python3-libs.pentium4 3.9.17-1.oc00 installed
----------[ 10 Dec 2023 10:26:12 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_install_dep.py python3-dateutil
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
No argument pipe.
Return code: 0
----------[ 10 Dec 2023 10:26:25 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_install.py python3-dateutil
No argument pipe.
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
Running Transaction Check
Warning: RPMDB altered outside of yum.
PackageSackError(): Rpmdb checksum is invalid: dCDPT(pkg checksums): python3-six.noarch 0:1.10.0-2.oc00 - u
Error: Rpmdb checksum is invalid: dCDPT(pkg checksums): python3-six.noarch 0:1.10.0-2.oc00 - u
PackageSackError()
Return code: 0
----------[ 10 Dec 2023 10:26:41 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_list.py
Setting up yum
No argument pipe.
Adding temporary repositories
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
Initializing cache
Requesting package list
Return code: 0
----------[ 10 Dec 2023 10:27:05 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_info.py python3-six
Warning: progress pipe not available.
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
No argument pipe.
Return code: 0
----------[ 10 Dec 2023 10:27:17 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_files.py installed python3-six
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
No argument pipe.
Return code: 0
----------[ 10 Dec 2023 10:27:51 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_files.py installed python-unversioned-command
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
No argument pipe.
Return code: 0
----------[ 10 Dec 2023 10:28:02 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_info.py python-unversioned-command
Warning: progress pipe not available.
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
No argument pipe.
Return code: 0
----------[ 10 Dec 2023 10:29:24 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_install_dep.py python3-pycurl
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
No argument pipe.
Return code: 0
----------[ 10 Dec 2023 10:29:32 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_install.py python3-pycurl
No argument pipe.
Enabling temporary repository arcanoae-sub
Enabling temporary repository arcanoae-exp
Enabling temporary repository arcanoae-stage
Enabling temporary repository arcanoae-arcaos
Running Transaction Check
Warning: RPMDB altered outside of yum.
PackageSackError(): Rpmdb checksum is invalid: dCDPT(pkg checksums): python3-pycurl.pentium4 0:7.44.1-3.oc00 - u
Error: Rpmdb checksum is invalid: dCDPT(pkg checksums): python3-pycurl.pentium4 0:7.44.1-3.oc00 - u
PackageSackError()
Return code: 0
----------[ 10 Dec 2023 10:29:58 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_list.py
Traceback (most recent call last):
File "G:\UTIL\ANPM\scripts\yum_list.py", line 6, in <module>
import yum
File "G:/usr/lib/python2.7/site-packages/yum/__init__.py", line 52, in <module>
import config
File "G:/usr/lib/python2.7/site-packages/yum/config.py", line 30, in <module>
from parser import ConfigPreProcessor, varReplace
File "G:/usr/lib/python2.7/site-packages/yum/parser.py", line 4, in <module>
import urlgrabber
File "G:/usr/lib/python2.7/site-packages/urlgrabber/__init__.py", line 55, in <module>
from grabber import urlgrab, urlopen, urlread
File "G:/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 512, in <module>
import pycurl
ImportError: No module named pycurl
Return code: 0
----------[ 10 Dec 2023 10:30:00 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_list.py available
Traceback (most recent call last):
File "G:\UTIL\ANPM\scripts\yum_list.py", line 6, in <module>
import yum
File "G:/usr/lib/python2.7/site-packages/yum/__init__.py", line 52, in <module>
import config
File "G:/usr/lib/python2.7/site-packages/yum/config.py", line 30, in <module>
from parser import ConfigPreProcessor, varReplace
File "G:/usr/lib/python2.7/site-packages/yum/parser.py", line 4, in <module>
import urlgrabber
File "G:/usr/lib/python2.7/site-packages/urlgrabber/__init__.py", line 55, in <module>
from grabber import urlgrab, urlopen, urlread
File "G:/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 512, in <module>
import pycurl
ImportError: No module named pycurl
Return code: 0
----------[ 10 Dec 2023 10:39:59 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_populate.py
Traceback (most recent call last):
File "G:\UTIL\ANPM\scripts\yum_populate.py", line 6, in <module>
import yum
File "G:/usr/lib/python2.7/site-packages/yum/__init__.py", line 52, in <module>
import config
File "G:/usr/lib/python2.7/site-packages/yum/config.py", line 30, in <module>
from parser import ConfigPreProcessor, varReplace
File "G:/usr/lib/python2.7/site-packages/yum/parser.py", line 4, in <module>
import urlgrabber
File "G:/usr/lib/python2.7/site-packages/urlgrabber/__init__.py", line 55, in <module>
from grabber import urlgrab, urlopen, urlread
File "G:/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 512, in <module>
import pycurl
ImportError: No module named pycurl
Return code: 0
----------[ 10 Dec 2023 10:40:01 ]----------
Executing: @python2.7 G:\UTIL\ANPM\scripts\yum_list.py
Traceback (most recent call last):
File "G:\UTIL\ANPM\scripts\yum_list.py", line 6, in <module>
import yum
File "G:/usr/lib/python2.7/site-packages/yum/__init__.py", line 52, in <module>
import config
File "G:/usr/lib/python2.7/site-packages/yum/config.py", line 30, in <module>
from parser import ConfigPreProcessor, varReplace
File "G:/usr/lib/python2.7/site-packages/yum/parser.py", line 4, in <module>
import urlgrabber
File "G:/usr/lib/python2.7/site-packages/urlgrabber/__init__.py", line 55, in <module>
from grabber import urlgrab, urlopen, urlread
File "G:/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 512, in <module>
import pycurl
ImportError: No module named pycurl
Return code: 0
[G:\]yum list python* |less
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named pycurl
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.18 (default, Dec 27 2021, 15:11:56)
[GCC 9.2.0 20190812 (OS/2 RPM build 9.2.0-5.oc00)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[G:\]python --version
Python 3.9.17
...
On Samba shares I can not get more then about 36MBytes/s. No matter what the other system is running. I think this is limited by our netdrive/samba client setup. It's not the GBit network. You can check with ftp to the same system and will get something more close to 1GBit (80-90MByte/s IIRC).
[G:\]netio -t orclsrvr
NETIO - Network Throughput Benchmark, Version 1.30
(C) 1997-2008 Kai Uwe Rommel
TCP connection established.
Packet size 1k bytes: 108.65 MByte/s Tx, 82.77 MByte/s Rx.
Packet size 2k bytes: 109.66 MByte/s Tx, 108.81 MByte/s Rx.
Packet size 4k bytes: 108.43 MByte/s Tx, 111.03 MByte/s Rx.
Packet size 8k bytes: 106.60 MByte/s Tx, 105.70 MByte/s Rx.
Packet size 16k bytes: 104.48 MByte/s Tx, 9.06 MByte/s Rx.
Packet size 32k bytes: 110.89 MByte/s Tx, 111.15 MByte/s Rx.
...Ramdisk - writting to our RAMDISK is not more than about 55MBytes/s here. It would be faster when using strategy 1 but this would limit to <2GB and does have other big problems which is the reason I stick without /1.
I wonder about your really fast SATA performance. I've tested here with Samsung 850 Pro, Samsung EVO 870, Samsung 860 QVD and various HDDs including my WD black. It seems my 9 year old 4 core system can not handle more than about 160MBytes/s. So I currently I can't test with systems as fast as yours.
[G:\]diskio -hd 2
DISKIO - Fixed Disk Benchmark, Version 1.20
Dhrystone 2.1 C benchmark routines (C) 1988 Reinhold P. Weicker
Dhrystone benchmark for this CPU: 6089057 runs/sec
Hard disk 2: 255 sides, 30401 cylinders, 63 sectors per track = 238472 MB
Drive cache/bus transfer rate: 129526 k/sec
Data transfer rate on cylinder 0 : 349038 k/sec
Data transfer rate on cylinder 30399: 318076 k/sec
CPU usage by full speed disk transfers: 6%
Average latency time: 0.1 ms
Average data access time: Disk read error.
Multithreaded disk I/O (4 threads):
124476 k/sec, 4% CPU usage
[G:\]diskio -hd 4
DISKIO - Fixed Disk Benchmark, Version 1.20
Dhrystone 2.1 C benchmark routines (C) 1988 Reinhold P. Weicker
Dhrystone benchmark for this CPU: 6047660 runs/sec
Hard disk 4: 255 sides, 15960 cylinders, 240 sectors per track = 476929 MB
Drive cache/bus transfer rate: 151264 k/sec
Data transfer rate on cylinder 0 : 373430 k/sec
Data transfer rate on cylinder 15958: 384912 k/sec
CPU usage by full speed disk transfers: 21%
Average latency time: 0.0 ms
Average data access time: 0.3 ms
Multithreaded disk I/O (4 threads):
216995 k/sec, 29% CPU usage
I've upload a new version here - https://sourceforge.net/projects/lcmd-git/files/
...
Changes from last release are -
- Fine tuning for dynamic copy buffer size adoption
- Reduce logging while copying huge amount of files (reduces memory needs and log file size)
- Disable playing priority games in hope of better overall system response
- Adding ExceptQ handler (not working yet as own exception is still active)
- Fixed some cppcheck warnings (thanks Andy Willis for that)
- Add some comments for using highmem in some places (currently not used)
- Add writing to PmPrintf queue in parallel to log file when #ifdef __DEBUG_TRACE__
- Use HighMem for copy buffer
Especially the tuning of the copy buffer algorithm makes a big difference in copy speed in so some cases. At least with my rather fast HDDs and SSDs and big files. But also with Samba shares or other source/targets differences can be observed. All my measurements gave good results...
...In linux I would just say touch newfile, then I could nano and edit it...touch does exist Ive noticed in Arca but does not act in how I would expect...