20 January 2019, 14:57 | #1 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 926
|
Workbench 3.1.4 drag-n-drop copy = multitasking issue?
Background:
On my A1200 I am most of the time using TCP/IP based, software controlled, mouse/keyboard input (SynergyClient). When a process is using a lot of CPU, the mouse movements normally become a bit jerky as the TCP/IP stack does not get enough CPU time (unless you give it a higher priority than 0). This is expected and it is still usable. Problem: I noticed that when drag-n-drop copying in Workbench 3.1.4, the mouse movements would completely stop and Synergy server considers the A1200 client dead as it doesn't answer to the alive messages it sends. Did some basic tests during which I copied a 64M file between two partitions (1 min+ copy). This showed some very strange results: 1. 'ping'ing the A1200 from another machine shows that during the copy, it answers to about 2-3 ping requests, with 20-40 seconds delay. 2. If I run a simple script that is continously updating during the copy, no lines are printed out. Script: Code:
Lab begin date wait 1 Skip BACK begin Code:
7.Ram Disk:> execute ram:datescript Sunday 20-Jan-19 14:08:20 Sunday 20-Jan-19 14:08:21 Sunday 20-Jan-19 14:08:23 Sunday 20-Jan-19 14:09:31 Sunday 20-Jan-19 14:09:33 - This does not happen when using the C:Copy command. - This does not happen when doing the same drag-n-drop copy in Workbench 3.9. The 3.9 test is with scsi.device and FastFileSystem from 3.1.4 to make the test as similar as possible. Tried to figure out what the drag-n-drop copy in Workbench 3.1.4 does different compared to the other copy variants by monitoring it with SnoopDos. The only thing I can see is that it reads/writes smaller chunks of data: Workbench 3.1.4 drag-n-drop-copy (0x5000 = 20480Bytes chunks): Code:
Time Process Name Action Target Name Optio Res. ---- ------------ ------ ----------- ----- ---- 14:45:17 [6] Workbench #READ 60084B44, 605F0690, 5000 DH8 OK 14:45:17 [6] Workbench #WRITE 6007E3FC, 605F0690, 5000 DH7 OK Code:
Time Process Name Action Target Name Optio Res. ---- ------------ ------ ----------- ----- ---- 14:25:34 [7] copy #READ 60084B9C, 60482D9C, 10000 DH8 OK 14:25:34 [7] copy #WRITE 6007E3A4, 60482D9C, 10000 DH7 OK Code:
Time Process Name Action Target Name Optio Res. ---- ------------ ------ ----------- ----- ---- 13:23:00 AsyncWB - copy pro #READ 6008516C, 6047CE70, 10000 DH8 OK 13:23:00 AsyncWB - copy pro #WRITE 6007E86C, 6047CE70, 10000 DH7 OK Code:
Time Process Name Action Target Name Optio Res. ---- ------------ ------ ----------- ----- ---- 13:26:58 [7] copy #READ 6008516C, 60534F94, 10000 DH8 OK 13:26:58 [7] copy #WRITE 6007E8C4, 60534F94, 10000 DH7 OK I have tested both with FastFileSystem 46.13 and pfsaio 19.2 with the same result. |
21 January 2019, 08:39 | #2 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 664
|
Maybe exec’s scheduler is starving the tcp/ip stack in favor of disk IO processes.
Have you tried ‘Executive’? It’s available on Aminet and replaces the scheduler with one (actually there are multiple available to chose from) that is less prone to starve processes. |
21 January 2019, 16:06 | #3 |
Bit Copying Bard
Join Date: Jan 2017
Location: Kelty, Fife, Scotland
Age: 41
Posts: 1,293
|
Could it be as simple as no ASyncWB ? I had to bring it over from my 3.9 install to preserve my sanity.
|
21 January 2019, 21:29 | #4 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 926
|
Quote:
It is true that Workbench 3.1.4 in itself doesn't multitask when copying files, but it shouldn't stop the whole machine from multitasking while doing it . |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Drag-and-drop Windows To Workbench | AMIGASYSTEM | support.WinUAE | 18 | 30 March 2017 21:21 |
Drag And Drop Desktop PC To Workbench Amiga | AMIGASYSTEM | support.WinUAE | 1 | 14 August 2016 13:07 |
HELP: can no longer drag and drop | 8bitbob | support.WinUAE | 2 | 01 September 2015 12:24 |
Drag and drop opening of adf files? | zardoz | support.OtherUAE | 3 | 08 May 2012 23:19 |
Drag and Drop HDF mounting? | killergorilla | request.UAE Wishlist | 5 | 02 July 2008 12:12 |
|
|