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 - Dariusz Piatkowski

Pages: [1] 2 3 ... 90
1
Internet / Re: HTTPS server?
« on: October 04, 2024, 03:54:42 pm »
Hey Neil,

...With a current apache port from Paul, why would you look at anything else?

Mostly because prior to this thread here, and the background research, I knew absolutely nothing about the state of 'commercial grade' http servers on our platform...thus the general "HTTPS server" post in here.

2
Internet / Re: HTTPS server?
« on: October 04, 2024, 03:11:02 pm »
Thanks for the feedback you guys!

OK, a few more questions:

1) IBM HTTP Server for OS/2
- does anyone know if this supports https? it does support secure connections....and I think this what will enable the https functionality (but, as you can tell, this is not my 'forte' lol)
- this is based on Apache 1.3.12, and Paul's last Apache release is 2.4.52, so I'm guessing if I was to pursue this approach I should be just moving directly to your release instead?

2) BM WebSphere Application Server Standard Edition Version 3
- this seems like overkill for what I want to do
- release notes state it requires 'Lotus Domino Go Web Server Version 4.6.2.6 or later', althoug reading through the release notes I found that the IBM HTTP Server can be used instead of the 'Lotus Domino Go Web Server'

3) Lotus Domino Server 5.0.11
- this is a whole communication suite, so an way too big for my needs

I have all of the above as old downloads that were part of the Warp Professional Services subscription...so they are just sitting there, but I am hesitant to get into these w/o knowing more about their suitability.

#1 is based on the Apache stuff from way back in the day...so it seems like the most suitable choice?

EDIT
====

Reading through the release notes for all of the above I answered some questions, so there are a few updates interspersed throughout the above points.

3
Internet / HTTPS server?
« on: October 02, 2024, 03:05:54 am »
I'm using Peter Moylan's excellent WebServe 2.4 at the moment to host a few of my thigns, but given the whole move from http to https, I started to think it would be nice to look into this further (have heard some complaints from people that they can't get to my stuff).

Sooo...what are our choices besides the Apache stuff?

4
Internet / Re: firefox question
« on: September 28, 2024, 02:45:06 pm »
Hi ivan,

...Now to find out how to auto clear it when firefox closes and I will be happy...

What has always worked for me was bringing up the GUI setup screens (so within FF: Tools => Options => Advanced => Network => Cached Web Content) and selecting the 'Clean Now' button.

FF does some internal house-keeping, so this (also depending on how BIG your current cache is) may take a minute or two, but in my case I always do this when I run a quarterly backup of my FF profile (no sense copying all that cache right? LOL).

BUT...if you want an automated way of doing this, I think Dave's suggestion to put the cache on the ramdisk is just about the only viable option?

5
Internet / Re: firefox question
« on: September 28, 2024, 03:17:58 am »
So FF has three kinds of cache:

1) memory
2) disk
3) app

Take a look at 'about:cache' to see the individual allocations, although really the 'disk' part is what you are lookign for given your quesiton.

The 'browser.cache.xxx' is a rich set of config options...do a little reading up on this and you can configure your setup to just suit your needs. Most of these options are controllable through the GUI, although not all.

6
Applications / Re: Installation of Open Office 4.1.11
« on: August 14, 2024, 07:48:57 pm »
...
Uninstalled. Rebooted. No problem.

Re-installed. Shut down. No problem.

Restarted, Got the IFX error...

Glenn,

Looks like you may have some other INI problems, and perhaps the uninstall/install process simply highlighted them?

Are you able to get back to a working config?

If YES, I would recommend running checkini to see what it finds.

For my part, that is pretty much the approach I take to each significant App upgrade:

1) clean existing INIs
2) save backup of INIs
3) execute the upgrade
4) save backup of INIs
5) clean new INIs

...yup, a bit tedious and time consuming but for the most part that has proven itself to be a reliable approch to producing a good outcome.

From a more specific hints/topics perspective, how about tossing this into your CONFIG.SYS if you don't have this already:

SET DESKTOP=x:\DESKTOP

where: 'x' is your boot drive.

7
Hardware / Re: AMOUSE + Lotus 123
« on: August 03, 2024, 02:19:19 am »
JPM,

How about the 'Mouse - Properties' object itself?

My IBM/Lennove ProPoint (the one with the directional button in-between the keys) shows a 'Scrolling' tab in the Properties where you control how your mouse hardware use is to be mapped to inputs.

There is also the 'Mappings' tab, which further defines options for things such as MB3, etc...but that is a XWP feature.

I haven't found anything in Lotus 1-2-3 that actually allows you to further define mouse actions.

8
Applications / Re: Unzip Version 6.0 hangs when booting to a commandline
« on: August 01, 2024, 12:10:22 am »
Hey Martin,

...For what I see on the F2 boot the %LIBPATH% is not recognized, but the config files looks fine. Is there any elegant way to see full the enviroment variables on the command line (image LIBPATH_F2.png )?...

Dave Yeo already gave the much bigger answer, but otherwise, if you want to look at each individual ENV variable you can do this at CLI:

Code: [Select]
echo %PATH%

9
Applications / Re: lSwitcher v 2.94
« on: June 16, 2024, 02:25:00 pm »
Andy,

Does anyone else have an issue when Ctrl clicking the desktop icon that barely a small highlight shows up and now list of processes to kill?

I assume you meant to say "...and NO list of processes..."?

If yes, correct, that's what I see here as well in the pop-up switching window. This does work for all the other icons of running programs I see however.

10
Applications / Re: AOS RAM Disk
« on: June 09, 2024, 03:14:59 pm »
Hello Roberto,

... But reducing the virtualaddresslimit to 1024, it already shows me 1gb of cache.
 The price is the reduction of memory...

Yup, this JFS thing is all about balancing the hardware resources in a manner most beneficial to the way YOU use YOUR machine. So there really are no generalizations, other than perhaps some starting points?

With my particular hardware combo I'm able to run this large of a JFS cache with 'VIRTUALADDRESSLIMIT=2048' setup. I found that going lower than that will start causing problems with our current applications, as others have pointed out as well.

So the 'balance' thing here is probably more heavily skewed towards 'being able to run an app' as opposed to 'having a fast FS cache'.

...I've still set up my ArcaOS NAS like this, but I don't see any performance improvements in file transfer.
 I'll have to do more tests...

I would NOT expect at all there to be file transfer performance improvements, other than I suppose the fact that the larger cache allows your target write operation to be cached.

...
[C:\]cachejfs

          SyncTime:      32 seconds
            MaxAge:     128 seconds
        BufferIdle:       8 seconds
        Cache Size: 1048576 kbytes
        Min Free buffers:    8000 (   32000 K)
        Max Free buffers:   15000 (   60000 K)
Lazy Write is enabled...

One last comment is re: SyncTime, MaxAge and BufferIdle. Be careful with these. I have my setups as large as they are because my machine is hooked up to a UPS fulltime. Therefore, the chance of power going out and the JFS cache NOT getting flushed out is very minimal. Still, a hard TRAP could still happen, so there is always some risk there.

Just for reference, here are my notes on this topic:

Code: [Select]
/LAZY:synctime,maxage,bufferidle
enables write cache with the following parameters:

- synctime : the interval at which the sync thread runs
default = 16

- maxage : is the longest time that a frequently modified file is kept in cache
default = synctime * 4

- bufferidle : is the time indicating a "recent" change. Changes newer than this
               value are not written unless the last write was older than maxage.
default = MIN(1,synctime/8)

11
Applications / Re: AOS RAM Disk
« on: June 08, 2024, 01:24:58 am »
Hello roberto!


Code: [Select]
...
IFS=C:\OS2\JFS.IFS /CACHE:1048576 /LW:32,128,8 /AUTOCHECK:*
CALL=C:\OS2\CMD.EXE /Q /C C:\OS2\CACHEJFS.EXE /LW:32,128,8 /MINBUFFER:8000 /MAXBUFFER:15000 >NUL
...
[C:\]cstats
cachesize     32768   cbufs_protected       10302
hashsize      16384   cbufs_probationary     2585
nfreecbufs    18938   cbufs_inuse               0
minfree        8000   cbufs_io                  0
maxfree       13000 **   jbufs_protected         681
numiolru          0   jbufs_probationary      255
slrun         10983   jbufs_inuse               0
slruN         21844   jbufs_io                  0
Other             7   jbufs_nohomeok            0

So here is the thing: my JFS cache is really large, 1Gig, therefore the '/CACHE:1048576' setting.

When you attempted to run as big of a cache on your system, given that JFS wasn't able to allocate that much RAM it actually defaulted to 10% of your accessible RAM (or maybe 20%??? I don't remember the default at the moment), which gave you a JFS cache of about 128M.

This is confirmed by your cstats value of cachesize=32768, where each such buffer is 4096 bytes. You can get a true JFS cache size by running the following:

Code: [Select]
[G:\os2]cachejfs

          SyncTime:      32 seconds
            MaxAge:     128 seconds
        BufferIdle:       8 seconds
        Cache Size: 1048576 kbytes
        Min Free buffers:    8000 (   32000 K)
        Max Free buffers:   24000 (   96000 K)
Lazy Write is enabled

Therefore, if you are interested in increasing your JFS cache size you may want to inch-up on the 1Gig slowly...maybe go to 256M, than 512M, etc...

12
Applications / Re: AOS RAM Disk
« on: June 07, 2024, 07:23:10 pm »
hey Dave!

Dariusz, did you ever publish your updates to diskio, also have you considered adding them to Sysbench, which basically uses diskio for disk benchmarking.

Nope...b/c I started the work on converting it to handle SSD's 4K sector sizes and ran into some problems with DosDevIOCtl32 return RC=87, which I wasn't able to resolve.

However, for what it's worth, here is the DISKIO version that I previously published in the forum here on a separate thread => https://www.os2world.com/forum/index.php/topic,2676.0.html.

13
Applications / Re: AOS RAM Disk
« on: June 07, 2024, 04:00:38 am »
Not quite RAM disk related, but for the folks who are experiencing that "...system seems to freeze for 4 - 8 seconds and then resume..." behaviour: if you are using JFS, this may be a symptom of your JFS settings causing it to run out of free buffers and needing to purge the cache(s) to free up the buffers.

This is well documented by Sjoerd Visser in his "Dynamically Tuning the JFS Cache for Your job" presentation deck from way back in 2009.

Bottom line: this can be brought on by several 'system use' activities, but it basically causes the JFS code to write out dirty buffers to disk. The key to dealing with this on my rather large JFS cache (1G) was to watch the typical system use (log cstats output) and adjust the MIN & MAX free buffer settings in pair with the overall LazyWrite setups.

This is a trial & error thing as your machine will be heavily driven by what your usage patterns are.

For what it's worth, here is what I have:

CONFIG.SYS:
IFS=G:\OS2\JFS.IFS /CACHE:1048576 /LW:32,128,8 /AUTOCHECK:*
CALL=G:\OS2\CMD.EXE /Q /C G:\OS2\CACHEJFS.EXE /LW:32,128,8 /MINBUFFER:8000 /MAXBUFFER:24000 >NUL

5 Days into using my box (last time it was up for 27 days, normal desktop stuff, nothing fancy), castat shows:

Code: [Select]
[G:\]cstats
cachesize    262144   cbufs_protected       35795
hashsize     131072   cbufs_probationary    22467
nfreecbufs   101902   cbufs_inuse               0
minfree        8000   cbufs_io                  0
maxfree       24000   jbufs_protected      101075
numiolru          0   jbufs_probationary      894
slrun        136870   jbufs_inuse               0
slruN        174762   jbufs_io                  0
Other            11   jbufs_nohomeok            0

...with the nfreecbufs never dropping so low that they show zero (0) as slruN approaches slrun value.

I started with MIN=8000 and MAX=16000, and that gave a pretty solid system, although sometimes I would get that tell-tale "hang" feeling. So I moved to MIN=4000 thinking that would free up the buffers for caching duties..welllll...no sirr....wrong move...that completely resulted in a solid and repeatable "system hang". So back to the drawing board so to speak, I set my MIN=8000 and increased MAX=24000. RESULTS => SOLID, the most solid system I have had for years.

The thing that 'ruins' my JFS cache (spoils it actually) is the nightly disk copy (rcopy) run. If it wasn't for that activity my cbufs_protected would stay very large, which means I have a good amount of content that's being successfully cached. Of course, the jbufs_protected is equally important as that allows JFS to quickly figure out where to "go" to retrieve the content as opposed to having to read the data from the disk itself. Again, which one should be the focus for you entirely depends on what disk access patterns you see.

Anyways...balance, somewhere out there are the right settings for your machine.

Last but not least, my JFS formatted RAM DISK results are (diskio):

Drive cache/bus transfer rate: 629714 k/sec
Data transfer rate on cylinder 0   : 680303 k/sec
Data transfer rate on cylinder 634 : 680021 k/sec

meanwhile the SSD results are:

Drive cache/bus transfer rate: 125467 k/sec
Data transfer rate on cylinder 0   : 286615 k/sec
Data transfer rate on cylinder 30399: 253408 k/sec

The ram disk is 2-3x faster here.

EDIT
====

One more thing to add to this, albeit this is easily identifieable and most likely NOT the situation everyone else is seeing: I tried running AHCI driver here and on my hardware that would result in what seemed like a complete HARD lock for about 4-8 secs at a time. Once that "event" passed the system was available for use once again. I tried a boat-load of different setups and configs but none of it helped. Subsequently i went away from AHCI.

14
Dave,

Yum install libtiff-legacy-tools looks like it would install tiff2pdf, version 3.9.5-2. Might have to install after upgrading
Seems that an issue should be raised at Bitwise about the missing tools.

Yup...happens to be the same conclusion I had just arrived at LOL, but our posts virtualy crossed each other!

I suspect you are right...

15
Question for the masses: I'm at libtiff-tools 4.0.9 level here, and the 4.6.x release has been sitting out there in EXP state, so I thought I'd take a stab at it with the pre-req of course being the baseline libtiff itself.

The libtiff-tools however drops just about all the "tiff2..." EXE files...so tools themselves, and I see not legacy version out there that still provides these.

Specifically I am after the tiff2pdf.exe one, as PDFmergeNX uses that...

Sooo...I went back to the previous version b/c the latest & greatest doesn't quite seem to be just that.

Is there something else out there that has this? Doing a 'yum provides */tiff2pdf.exe' just lists the previous releases and shows nothing at the 4.6.x level.

EDIT
====

Just spotted libtiff-legacy-tools, but that's at 3.9.5-2 level, and wouldn't that be an older version of libtiff-tools-4.0.9-1? (which is what I had before I executed the upgrade)

Pages: [1] 2 3 ... 90