Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Dillo - now a graphical web browser for DOS - beta2 (Announce)

posted by obeythepenguin Homepage, United States, 27.11.2011, 06:13

> One comment.....
>
> DilloDOS beta2 seems to be quite slow on downloads.
>
> Test download file... http://www.pctools.com/downloads/ptinstall.exe
>
> DilloDOS beta2 == 100kb/sec
>
> DOS Arachne v1.95 == 300kb/sec

I've noticed that as well. I've also noticed Dillo on DOS has abnormally high CPU usage, particularly when pages are downloading. (It's constantly near 100%, whereas the Windows version rarely breaks single digits, even on my mostly-dead Pentium-133 laptop.)

Together these problems lead me to suspect a bug somewhere in the network code. The most likely culprit is FLTK's fl_wait() function in src/Fl_x.cxx, which among other things triggers FLTK events in response to network socket activity. That function has caused problems in the past on Windows, and my experience is there's nothing like a broken select() loop to slow your network code and send CPU usage skyrocketing.

(I doubt it's a bug in Dillo itself, since the Windows version gave 1mb/sec speeds here with no problems. And while it's possible the download speeds and CPU usage are separate issues, Dillo doesn't do much intensive processing elsewhere, and I can't think of any other explanation that perfectly covers all the symptoms.)

Unfortunately I haven't had much chance to look closely at the code myself, but I thought I'd share my guess if Georg or anyone else wants to take a look.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 433 users online (0 registered, 433 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum