> ->>    Among other changes made in the development of Linux kernel 2.2, the
> ->> 128 meg limit on IA32 swap partition sizes has been eliminated.  To use
> ->> larger swap spaces, you need the new mkswap found in util-linux.  You
> ->> also need to upgrade util-linux to get the latest version of mount.> ->   
>Perhaps I am misunderstanding the above paragraph, or the Suse
> ->doc is old. What is the default kernel with Suse (Debian, for example,
> ->keeps old kernels; Debian 2.1 comes with kernel 2.0.36)
> 

I picked the following from a mailing list archive.

*******************************
   ....., the current 128MB swap limit is due  to using
   a one-page bitmap in the swap file, and no, there is nothing fundamental
   about that (it just makes some things easier). You should be able to 
   reasonably easily extend the swap file format to have a multi-page bitmap,
   and increase the current 128MB limit to 256 or 512GB (?? should be MB I 
   guess) by using two or four pages for it all.

   Linus
*******************************

Well, so there is some limit (and that's not 128 MB, as the "Changes"
file in the Documentation says) .... but that can be modified for your
purpose.

Anyways, I tried to put our server under some strain by bombarding it with
1 million requests (for a static page), 500 at a time, using the Apache
Benchmarker ("ab") utility which comes with Apache (and with all the
normal processes running) and still couldn't exhaust the 512 MB RAM. But I
did confirm from one friend ... on his machine, the 128 MB mark on the
swap partition is crossed quite often.

If you are interested, the output of the "ab" utility is as follows:
(I couldn't make sense out of this completely. It gives some negative
numbers. Might be, some bug ... or just that this poor soul can't
understand all that ... ;-)

**************************************************************************
Server Software:        Apache/1.3.9
Server Hostname:        ftp
Server Port:            80

Document Path:          /
Document Length:        1945 bytes

Concurrency Level:      500
Time taken for tests:   2116.463 seconds
Complete requests:      1000000
Failed requests:        0
Total transferred:      -2074774156 bytes   (??)
HTML transferred:       1945169215 bytes
Requests per second:    472.49
Transfer rate:          -980.30 kb/s received  (??)

Connnection Times (ms)
              min   avg   max
                          Connect:        0   441 668997
                          Processing:     3   468     3  (?? max < avg!)
                          Total:          3   909 669000
**************************************************************************


regards,
jaju

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to