sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.47k stars 204 forks source link

Networking MUCH slower than actual hardware #210

Open jasoncollege24 opened 1 year ago

jasoncollege24 commented 1 year ago

PCem version: 17 Host: Win10 Pro 22H2 Guest: Win98SE (Latest 98SE updates manually installed) Host CPU: i9-9900K (Guest stays around 100%, though no gaming yet)

Guest Related Settings: MB: [Slot 1] Gigabyte GA-686BX CPU: Intel Celeron 400 FPU: Built-in Dynamic Recompiler: Automatically selected RAM: 512MB Waitstates: Automatically set to System Default Clock Sync: Enabled Network Interface: PCAP Network Card: Novell NE2000

Instead of the usual recommendation of using ISO and IMG files to transfer files to the guest, I added a non-SSL subdomain to my personal web server, added the files there, and I'm using IE to download them.

I did some research on both available network cards, and learned that they supported up to 10Mb/sec (equal to 1.25MB/sec). Problem is that I'm getting no more than 180KB/sec, and often not even that much.

Is this by design, or did I configure something incorrectly? Screenshot 2023-03-14 150853

shakeyourbunny commented 1 year ago

It is well known that Windows 98 (and SE) has some issues regarding CPU scheduling, emulated or not.

Try to run something like CPUidle inside the guest (see http://www.benchtest.com/cpuidle.html).

Also, don't emulate a crappy NE2000, which is (the real hardware) a quite slow and buggy network card ;)