Welcome, Guest. Please login or register.

Author Topic: AWeb 3.5.09 grinds to a halt- why?  (Read 8357 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MizarTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2009
  • Posts: 76
    • Show only replies by Mizar
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #14 from previous page: April 27, 2011, 05:38:45 AM »
Quote from: Mark;632829
Well, what is your TCP buffer size?  If it's already 8192, you still might be able to minimize your problem by using an MTU of 576, limiting simultaneous browser connections to 2 or 3, etc.


In Genesis the MTU is 576, in Miami it's 552.  Those and the TCP buffer values are the defaults.  However, I reduced AWeb's max network connections to 3, from 12.  That seems to be helping.  It seems to take longer to grind to a halt sometimes, and when it seems to be halting it sometimes starts moving again somewhat after a bit.  Other times I can keep it going pretty much indefinitely.

And then there's times like today, where it grinds to a halt after a short time no matter what.  I had to resort to telnetting again as the only thing that will keep it going.

I'm playing with some other TCP settings that have the potential to optimize browser speeds.
« Last Edit: April 27, 2011, 06:14:53 AM by Mizar »
Amiga Tech. A1200: Apollo 1230/40 MHz & 882/50 MHz, 32 MB fast RAM, WD 298 GB HD (320 SI GB), Sony 1760 KB floppy, Surf Squirrel SCSI-II & buffered  serial, Ricoh CDRW 6x4x24, USR 33.6 Kbps modem, MV1200 scan doubler, Compaq 17" SVGA, KS 3.1, OS3.9 BB1, Genesis 45.7, Miami 3.2b, AWeb 3.5.09 APL

C= A500: 68000, 512 KB chip, 512 KB fast, 880 KB floppy x 2, 1084S, KS 1.3, OS 1.3
 

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4052
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #15 on: April 27, 2011, 02:54:44 PM »
Quote from: Mizar;632833
My GenesisPrefs TCP buffer send/receive size is 8192, and has been.

JJ:

Not only am I still using dial-up, but mine only goes 28.8 k to 31.2 kbps.  I guess there aren't fiber optic lines around here.  You get 2MB per sec.?  That sounds pretty good... would be for a PCMCIA ethernet card anyway.


Thats through ASDL and is very slow, should be able to get up to 8mb.  Not got fiber otherwise would be on 50mb or 100mb
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline Mark

  • Jr. Member
  • **
  • Join Date: Apr 2002
  • Posts: 94
    • Show only replies by Mark
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #16 on: April 28, 2011, 09:46:00 AM »
Quote from: Mizar;633847
In Genesis the MTU is 576, in Miami it's 552.  Those and the TCP buffer values are the defaults.  However, I reduced AWeb's max network connections to 3, from 12.  That seems to be helping.  It seems to take longer to grind to a halt sometimes, and when it seems to be halting it sometimes starts moving again somewhat after a bit.  Other times I can keep it going pretty much indefinitely.

And then there's times like today, where it grinds to a halt after a short time no matter what.  I had to resort to telnetting again as the only thing that will keep it going.

I'm playing with some other TCP settings that have the potential to optimize browser speeds.


From what you've written, it sounds like you need to reduce latency, not increase overall speed.  For example, increasing MTU to 1500 will reduce overhead and increase transfer speed.  It also increases latency and makes stalls more likely on slow connections.  Reducing MTU to 296 does the opposite.

If you're doing wild experiments with settings, I suggest you write down what was changed, why, and what the original settings were.  I say that because some undesirable side effects may not become apparent for quite some time.  Also, if your problem is mainly with the A1200, double check your serial device settings in Genesis.  Maybe you're using some buggy serial.device replacement or your baud rate is a little too high for the A1200.  Flow control should be RTS/CTS if at all possible.

Some 34k and 56k modems can be flashed with upgraded firmware that improves performance -- you might check with your modem's manufacturer.
 

Offline MizarTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2009
  • Posts: 76
    • Show only replies by Mizar
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #17 on: May 02, 2011, 11:31:18 AM »
Quote from: Mark;634070
From what you've written, it sounds like you need to reduce latency, not increase overall speed.  For example, increasing MTU to 1500 will reduce overhead and increase transfer speed.  It also increases latency and makes stalls more likely on slow connections.  Reducing MTU to 296 does the opposite.

If you're doing wild experiments with settings, I suggest you write down what was changed, why, and what the original settings were.  I say that because some undesirable side effects may not become apparent for quite some time.  Also, if your problem is mainly with the A1200, double check your serial device settings in Genesis.  Maybe you're using some buggy serial.device replacement or your baud rate is a little too high for the A1200.  Flow control should be RTS/CTS if at all possible.

Some 34k and 56k modems can be flashed with upgraded firmware that improves performance -- you might check with your modem's manufacturer.


I shall have to try a lower MTU then, even though 296 is normally for 19.2k and under modems.

I'm not doing wild experiments.  I'm only changing one thing at a time, so I know what is affecting what.  And I'm not screwing with advanced settings, just turning various TCP protocols and settings on and off in Miami.  So far, I established I didn't need DHCP or Verify DNS turned on, which only slow my internet log on way down.  Plus, Verify DNS was preventlng me from being able to use my ISP's DNS, because apparently they no longer respond to verify queries (Genesis wasn't using these).  Also, I tried using T/TCP (the one I mentioned that could potentially speed up browsing)... so far I think it only interfered.  Probably my ISP's DNS support it, but I don't know about AWeb.  I tried to look it up but AWeb's internal search function is broken.

Yes, my problem is only with the A1200.  However, another member had said he was having these same problems with AWeb with OS4, WinUAE, and even on a Linux box.  I've been using these same settings for a long time, and they had always worked fine.  It wasn't until things started changing on the net that I started having problems, though I was not playing with settings at all at that time (if it ain't broke, don't fix it- but now it is broke).  My serial settings are 115200 bps, RTS/CTS, 8N1, and using squirrelserial.device, which I've never known or heard about being at all buggy.  (Back when I had tried rates higher than 115200, that didn't seem to work well.)

My modem is 33.6k.  Interesting idea, I'll have to see if there's a firmware update possibility.
Amiga Tech. A1200: Apollo 1230/40 MHz & 882/50 MHz, 32 MB fast RAM, WD 298 GB HD (320 SI GB), Sony 1760 KB floppy, Surf Squirrel SCSI-II & buffered  serial, Ricoh CDRW 6x4x24, USR 33.6 Kbps modem, MV1200 scan doubler, Compaq 17" SVGA, KS 3.1, OS3.9 BB1, Genesis 45.7, Miami 3.2b, AWeb 3.5.09 APL

C= A500: 68000, 512 KB chip, 512 KB fast, 880 KB floppy x 2, 1084S, KS 1.3, OS 1.3
 

Offline Minuous

Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #18 on: June 23, 2011, 08:58:56 AM »
>AWeb 3.5 (which was included in BB3) halts on my A600 with ACA630 (and also in my clone test environment under WinUAE). If I test it under WinUAE (with same config as my A600) but with adding +FPU... AWeb 3.5 runs just fine without halting issues! I guess it requires an FPU to work (unless there is a way to disable that).

Confirmed. It seems to be compiled with GCC's -m68020-60, which is documented as: "Generate output for a 68060, without using any of the new instructions. This results in code which can run relatively efficiently on either a 68020/68881 or a 68030 or a 68040. The generated code does use the 68881 instructions that are emulated on the 68060." So in other words, that build does require an FPU.
  It would have been better to compile it with -m68020 or (if 68000 compatibility is required) with -m68000.
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #19 on: June 23, 2011, 09:26:02 AM »
Thanks a lot Minuous mate!
I thought for some time that I was doing something wrong :)
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline matthey

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1294
    • Show only replies by matthey
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #20 on: June 23, 2011, 10:47:39 AM »
Quote from: Minuous;646754

Confirmed. It seems to be compiled with GCC's -m68020-60, which is documented as: "Generate output for a 68060, without using any of the new instructions. This results in code which can run relatively efficiently on either a 68020/68881 or a 68030 or a 68040. The generated code does use the 68881 instructions that are emulated on the 68060." So in other words, that build does require an FPU.


Not necessarily. If no floating point data is used then, most likely, no FPU code will be generated. I don't know how much fp is used but I suspect not much. Generating only 1 executable is certainly a compromise and not a good one for those without a FPU. Using the IEEE math libraries would be better in this case.

Quote from: Minuous;646754

  It would have been better to compile it with -m68020 or (if 68000 compatibility is required) with -m68000.


There was a 68000 compiled version of AWeb on the sun site before it was deleted. It should work without FPU on a 68020+ although not optimal. Maybe someone has a copy.
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #21 on: June 23, 2011, 12:58:59 PM »
I have all the copies from AWeb 3.4 and 3.5 including the ones for 68000.



All 3.4 versions as I said work without issues. The 3.5 versions work but once you browse any website with pictures it halts asking for Suspend/Reboot.

The 3.5 68000 version works just fine without halts!

I guess sticking with 3.4 is the best option for now (unless you want the 3.5 68k version)
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline Minuous

Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #22 on: June 23, 2011, 01:02:44 PM »
>Not necessarily. If no floating point data is used then, most likely, no FPU code will be generated. I don't know how much fp is used but I suspect not much.

Actually there's quite a bit. The internal PNG support as well as the PNG plugin both use the FPU. Also a lot of websites such as http://www.google.com and http://www.yahoo.com crash it if there is no FPU, even with image loading turned off.

I'm working on a backport of AWeb 3.5.10 to SAS/C. If this is successful, I will build it for 68EC020 (and for other CPUs if requested).
« Last Edit: June 23, 2011, 01:06:31 PM by Minuous »
 

Offline Gulliver

Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #23 on: June 23, 2011, 02:37:25 PM »
Quote from: Minuous;646773

I'm working on a backport of AWeb 3.5.10 to SAS/C. If this is successful, I will build it for 68EC020 (and for other CPUs if requested).


I am looking forward for it! ;)
I hope you succeed!
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #24 on: June 23, 2011, 02:53:04 PM »
That would be great Minuous mate! I'm looking forward for it as well \o/
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline MizarTopic starter

  • Jr. Member
  • **
  • Join Date: Oct 2009
  • Posts: 76
    • Show only replies by Mizar
Re: AWeb 3.5.09 grinds to a halt- why?
« Reply #25 on: July 29, 2011, 01:48:13 PM »
Quote from: mfilos;646772
All 3.4 versions as I said work without issues. The 3.5 versions work but once you browse any website with pictures it halts asking for Suspend/Reboot.

The 3.5 68000 version works just fine without halts!

I guess sticking with 3.4 is the best option for now (unless you want the 3.5 68k version)


This is a separate phenomenon being described using AWeb without an FPU.  The "halting" issue I was describing was not a hang/crash of AWeb, only that it stops loading the page/images part way.  I had the same transfer problem with 3.4 as with 3.5, but had a little more luck with things continuing to load until it started grinding to a halt with 3.5.09.

I also tried reducing the MTU to 296, and that didn't help the transfer problem.  In fact, I found the only way to reliably keep transfers going was what I originally had been doing, to telnet at the same time.  No other method suggested produced significant improvement consistently.  I'm still thinking the problem is tied to the lack of ISP support for dial-up, though I haven't had time to experiment further with this yet.
« Last Edit: July 29, 2011, 01:52:27 PM by Mizar »
Amiga Tech. A1200: Apollo 1230/40 MHz & 882/50 MHz, 32 MB fast RAM, WD 298 GB HD (320 SI GB), Sony 1760 KB floppy, Surf Squirrel SCSI-II & buffered  serial, Ricoh CDRW 6x4x24, USR 33.6 Kbps modem, MV1200 scan doubler, Compaq 17" SVGA, KS 3.1, OS3.9 BB1, Genesis 45.7, Miami 3.2b, AWeb 3.5.09 APL

C= A500: 68000, 512 KB chip, 512 KB fast, 880 KB floppy x 2, 1084S, KS 1.3, OS 1.3