Linux for PlayStation 2 Community - Forums


Summary |  Home Page |  Forums |  Lists |  Tasks |  Docs |  Surveys |  News |  Files | 

Discussion Forums: Kernel

Admin

Message: 50509
BY: adamwu
DATE: 2007-Jul-25 19:48
SUBJECT: Network performance downgrade in 2.4.17

After many trial and error, I finally got 2.4.17 up and running on my PSTwo.

I noticed a message as soon as smap is loaded, saying dma setup error, go back to PIO mode. The network still funcions.

However, when I try ftp, I found out the throughput is not as good as in kernel 2.2.1.

pc -> ps2 was 3MB/sec, now 1.5MB/sec
ps2 -> pc was 4MB/sec, now 1.5MB/sec

Upon further inspection, I found the network performance is heavily CPU-bound: at 1.5MB/sec, smap used about 50% cpu time, and the rest is spent in tcpd (ftp server).

I have not checked the CPU usage in kernel 2.2.1, will do that later.

------

I have a few guesses.

The first hint is the dma error message. However, I believe smap is not using dma back in kernel 2.2.1, either;

Then the high CPU usage gave another hint - the system is being hit by heavy interrupt. I think it is because I did not enable I2O when compiling (last time I used it and the kernel did not boot up completely). I will try another clean compile with I2O on and see how it runs.


 

Thread View

Thread Author Date
Network performance downgrade in 2.4.17adamwu2007-Jul-25 19:48
      RE: Network performance downgrade in 2.4.17chewi2007-Jul-26 02:26
            RE: Network performance downgrade in 2.4.17adamwu2007-Jul-26 16:52
                  RE: Network performance downgrade in 2.4.17chewi2007-Jul-26 17:01
      RE: Network performance downgrade in 2.4.17adamwu2007-Jul-26 16:40

 

Post a followup to this message

You could post if you were [logged in]