-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test sending big files (>4MB) to Wanhao #4
Comments
During the heating process a lot of gcode is sent at once. Due to this the buffer size drops to 1580 just before printing starts. Once the printer has started printing the gcode buffer goes up and a lot of space is freed. |
Print 1 0.10.10-cThe Wanhao stopped extruding with Heater ERROR 4# on the display. I stopped the print, but the wanhao printer hangs during the stopping procedure Will test again to see if the Wanhao works again. |
print 2 0.10.10-cOn the second occasion the print was succesful. Only once it dropped to 1280 again during preheating. |
print 3 using tablet 0.10.10-cThe Wanhao print from my tablet stopped suddenly. I used ADB to remotely log the webconsole using the chrome://inspect page. Investigating the ram usage does not yield much except 5 times it went below the 2000KB threshold. I am currently testing if the ultimaker does not hang. |
With release 0.10.10-d and 0.10.10-e we should try this again. Probably 3 times to be sure. |
0.10.10-e Nexus 9 print 1Print Successful |
0.10.10-e Nexus 9 print 2Stopped the print because filament was stuck |
0.10.10-e Nexus 9 print 3Got a lot of AJAX disconnect errors during preheating. Did not send the doodle correctly to the printer. Printing stopped once the print buffer was empty. |
0.10.10-e Nexus 9 print 4Same. doodle did not print. |
0.10.10-e Nexus 9 print 5After a full reset of the wifibox (including firstboot) I performed the same test but this time the print was also unsuccessful. Also I checked the running processes of the other tests. It seems that uhttpd is forked off a lot of times but never gets shut down correctly. This is something I also discovered during my stresstesting of the wifibox. I am still investigating why this happens. Increasing the max_requests in the uhttpd config seems to fix this for now. |
In all four failed tests, Except in the first failed test, the last chunk to arrive in tact at the server is also the last one for which the client got an 'ok' back, contrary to what was observed in Doodle3D/doodle3d-client#304. Even though the client keeps sending both print and status requests, Miscellaneous remarks:
So what could be the matter here? Something blocking the uhttpd/Lua process? |
One thing that might come in handy are timestamps in the web console log, so we could inspect intervals between messages as well as map those logs onto the firmware/print3d logs to connect what is happening when. |
The Wanhao driver does take up more resources, because of the translation process is there any indicator this might be the cause? Did you check the memory usage over time log? (wanhao.log).
How did you see this? I see info/status requests from even before seeing /printer/print requests in the rotated logs.
Seems like the requests timeout. If I understood Olaf it could be that one request takes up so much all that requests that are waiting for that request to finish all timeout. @olijf Could you explain the multiple ip's? If there where multiple devices listening this would have been much of a stress test than I intended it to be. |
I was only actively using my tablet. sometimes I checked the info/status from my pc. but I do not think that this would be much of an impact. .. I presume someone else had the connect.doodle3d.com page open in his browser (at least that explains for 1 more) |
I think a important question is whether we made it perform worse with the developments in the develop branch. Therefore I'd like to do 2 tests with less "stress". @olaf, could you do 2 more tests?
|
Do you mean process in the OS sense? The GPX code is compiled into the print server and it only converts as much as it needs each time (here), so the translation should not take up any noticeable extra resources. Overview of the memory logs:
Could we be dealing with a memory leak, is some other process taking up memory or is this normal behaviour? Even so, according to the
Sorry my sentence was ambiguous, I meant that it logs both types of requests up until the point where things start failing. After that moment it does not log
Indeed. iirc this also happened during the beginning of the project. |
Print from PC 0.10.10-eHere are the results of another test unsure if print was succesful. I got a lot AJAX errors. I can do another test on Monday with the chrome time stamps enabled. |
Trying to reproduce the AJAX timeouts, I ran several large prints on the wanhao. All of them cancelled after some time since the previously observed issues all occured quite soon - they all ran until the buffer had been full for at least about a minute. |
Very interesting, I have 1 plausible theory: On my tablet after 1 successful print the timeout issues arose. It is possible that that first print happened on a just booted WiFi-box. maybe this happens because I did not reboot the wifibox in between? (im unsure if I did this) On another note: during the daytime the Wifi network is quite busy (lots of devices connected, lots of people etc) so maybe that can influence the wireless signals? |
If it had to do with (not) rebooting, something must have changed because I did not reboot the wifibox in between prints. In case you/we are going to do more tests, it might indeed be interesting to also track the speed & quality |
We've released 0.10.10, so I'm closing this test. |
Perform the same test as #3 but with a Wanhao printer.
The text was updated successfully, but these errors were encountered: