Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display up/download progress on Windows and macOS #130

Open
Hou5e opened this issue Mar 9, 2023 · 2 comments
Open

Display up/download progress on Windows and macOS #130

Hou5e opened this issue Mar 9, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Hou5e
Copy link
Contributor

Hou5e commented Mar 9, 2023

FAH v8.1.15 or v8.1.14 doesn't output DOWNLOAD or UPLOAD log messages on Windows
(the messages are there on Linux for either version)

WU Download v8.1.14:

20:58:35:I1:/RG1:WU194:Downloading WU
20:58:35:I1:OUT121:> POST https://vav19.fah.temple.edu/api/assign HTTP/1.1
20:58:35:I3:Connecting to vav19.fah.temple.edu:443
20:59:16:I1:OUT121:< vav19.fah.temple.edu:443 HTTP/1.1 200 HTTP_OK
20:59:17:I1:/RG1:WU194:Received WU
20:59:19:I1:/RG1:WU194:CORE 100% 1B of 1B

Also, note the log message: ... CORE 100% '1B of 1B' <---probably shouldn't be there (or should be GPUs/CPUs?), 1 Byte of 1 Byte?

WU Download v8.1.15:

13:13:57:D3:/RG1:WU197:Received assignment for 1 cpus and 1 gpus
13:13:57:I1:/RG1:WU197:Downloading WU
13:13:57:I1:OUT7:> POST https://stxfahwork01.silicontx.com/api/assign HTTP/1.1
13:13:57:I3:Connecting to stxfahwork01.silicontx.com:443
13:13:57:D1:/RG1:Remaining CPUs: 0, Remaining GPUs: 0, Active WUs: 1
13:14:00:I1:OUT7:< stxfahwork01.silicontx.com:443 HTTP/1.1 200 HTTP_OK
13:14:01:I1:/RG1:WU197:Received WU 

WU Upload v8.1.15:

15:45:36:I1:/RG1:WU197:Uploading WU results
15:45:52:I1:OUT11:> POST https://stxfahwork01.silicontx.com/api/results HTTP/1.1
15:45:52:I3:Connecting to stxfahwork01.silicontx.com:443
15:45:52:D3:'' msg: {"cmd": "log", "enable": false}
15:55:04:I1:OUT11:< stxfahwork01.silicontx.com:443 HTTP/1.1 200 HTTP_OK
15:55:04:I1:/RG1:WU197:Credited
15:55:04:D3:/RG1:WU197:Cleaning WU 

There should be many "UPLOAD" messages during the 10 minute upload. Example from v8.1.15 on Linux:

16:24:02:I1:/RG2:WU1333:UPLOAD 3% 1.30MiB of 41.53MiB
16:24:05:I1:/RG2:WU1333:UPLOAD 4% 1.69MiB of 41.53MiB
@jcoffland jcoffland changed the title FAH v8.1.15 or v8.1.14 doesn't output DOWNLOAD or UPLOAD log messages on Windows Display up/download progress on Windows and macOS Mar 9, 2023
@jcoffland
Copy link
Member

The issue is that Windows and macOS use a different networking code. I haven't yet implemented progress callbacks in the non-Linux code.

@jcoffland jcoffland added the enhancement New feature or request label Mar 9, 2023
@jcoffland
Copy link
Member

The 1B of 1B issue will be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants