Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 55:06:36 |
Calls: | 422 |
Files: | 1,025 |
Messages: | 90,706 |
bp@www.zefox.net wrote:
Some months ago I purchased an Owon vds1022i usb oscilloscope.
It uses a Java application for control and display.
Java or Javascript? Javascript you'd run in a browser, Java you might download a .jar file and run it.
Some months ago I purchased an Owon vds1022i usb oscilloscope.
It uses a Java application for control and display.
Testing it with an old Pi2 running Bookworm and the default GUI
showed very nice performance, with the screen updating the Owon
control application fast enough that no delay was noticeable.
Now, several months and Bookworm updates later, I tried it again
and the oscilloscope application updates the screen roughly once
every five seconds.
Top reports about 0.6% user with the Java application not running,
but close to 30% with the java application running but just sitting
in the foreground with no inputs.
Are there any known problems with Java on Bookworm? I've tried
disconecting other usb devices and swapping keyboards, that didn't
help.
Is it possible to "roll back" the system by date? The initial tests
that worked well were done in early August, 2024.
It appears the problem was Wayland. I was quite firmly convinced that
the initial experiment was done with Wayland active, but evidence
suggests otherwise.
Switching from Wayland to X11 seems to have restored the former level
of performance. No other changes, I just set X11 active and rebooted.
I suppose it's possible there was a change to Wayland, quite a few
updates were applied between August and now. Alas, it's far more
likely I was simply mistaken about the initial test.
Thanks for everyone's attention, and apologies for the noise!
(Apparently the question is about Java, not JavaScript.)
bp@www.zefox.net writes:
Some months ago I purchased an Owon vds1022i usb oscilloscope.
It uses a Java application for control and display.
Testing it with an old Pi2 running Bookworm and the default GUI
showed very nice performance, with the screen updating the Owon
control application fast enough that no delay was noticeable.
Now, several months and Bookworm updates later, I tried it again
and the oscilloscope application updates the screen roughly once
every five seconds.
Top reports about 0.6% user with the Java application not running,
but close to 30% with the java application running but just sitting
in the foreground with no inputs.
Are there any known problems with Java on Bookworm? I've tried
disconecting other usb devices and swapping keyboards, that didn't
help.
https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=0;dist=unstable;ordering=normal;repeatmerged=0;src=openjdk-17
would be the place to look for bug reports. I don’t see anything
reflecting performance issues.
At any rate, a single application performing poorly is just not enough
to conclude there’s a problem with the JRE. You’re more likely to be seeing poor behavior by the one application.
Contacting the maintainer of the oscilloscope application would be a reasonable approach (using whatever their preferred support or bug
reporting channel is).
Is it possible to "roll back" the system by date? The initial tests
that worked well were done in early August, 2024.
If you can find a copy of the JRE package from that time period then potentially yes. I’m not sure if the package binaries are kept anywhere
(in principle they can probably be rebuilt from source, if not, but this
is starting to turn into a lot of work for something speculative).
Some months ago I purchased an Owon vds1022i usb oscilloscope.
It uses a Java application for control and display.