Michal Vitecek <M.Vitecek _at_ sh.cvut.cz> writes: > hello list, > > i apologize if this is way off-topic but noone i asked in my > whereabounds would help: what is the maximum task size for 2.4.x on a > i386 box and how do i change it (if possible)? 3 gigabytes of virtual address space. > i have processes that have to be really over 1gb (database engines) but > unfortnately, when one reaches over 900mb kswapd starts eating 50+% of 1 > cpu and the whole thing gets slower. You don't have enough ram? > so i tried to decrease __PAGE_OFFSET in include/asm-i386/page.h to > 0x80000000 which as i learned should increase the task limit to ~2gb, but > the kernel _won't even boot_ (halts right after lilo loads it, no output > is written). That decreases the task size. The implementation in 2.4. is totally different from 2.2. and the process virtual address space size does not change in 2.4. > the machine is 8xp3 xeon, 4gb ram, kernel 2.4.1-ac10, CONFIG_HIGHMEM > and CONFIG_HIGHMEM4G are set. It looks like you might have a legitimate problem with your database task, but you haven't provided enough information about it's behavior, and it's expected behavior for anyone to diagnose what is going wrong with your machine. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- 2.4: maximum process size on i386?Michal Vitecek <M.Vitecek _at_ sh.cvut.cz>
- Prev by Date: [rfc] Near-constant time directory index for Ext2
- Next by Date: Re: [IDE] meaningless #ifndef?
- Prev by thread: 2.4: maximum process size on i386?
- Next by thread: Re: 2.4: maximum process size on i386?
- Indexes:[Main][Thread]