Skip to contentSkip to conversation

About 2.5.70-mm3

DISCUSSION ismail (cartman) donmez 2 participants 3 messages May 31, 2003 – Jun 2, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi Andrew,

I tried today 2.5.70-mm3 today and on an ext3 filesystem sytem startup improved like 5-6 seconds same goes for X ( Compared to vanilla 2.5.70 ). Is it because of "anticipatory scheduling elevator" or any other trick?

Regards,
/ismail

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · you

There's a little hack in there which speeds up the loading of executables:
when someone does a mmap of a file with executable permissions the kernel will slurp it all into pagecache during the mmap. That tends to speed up program loading quite a lot, because the normal demand-loading produces quite poor I/O patterns.

Cool

Quoted 3 lines

I had a vague feeling that this code wasn't working actually, and reimplemented it for -mm4.

You do not really feel it in X but on system startup its *quite* impressive.

Regards,
/ismail

#3 lore raw
Quoted 7 lines · ismail (cartman) donmez
Quoted 5 lines · you

There's a little hack in there which speeds up the loading of executables:
when someone does a mmap of a file with executable permissions the kernel will slurp it all into pagecache during the mmap. That tends to speed up program loading quite a lot, because the normal demand-loading produces quite poor I/O patterns.

Cool

Yes, *majorly* cool. Between that tweak and the anticipatory scheduler, it makes this laptop even more responsive than stock 2.5.70 was, and less prone to hiccups - without -mm3, it was pretty easy to make xmms pause/skip by suddenly hitting the disk with I/O. I've been trying to make it skip for an hour, even doing things like launching an X application while running an MH 'scan' command on a 7,000 item folder (which involves an open, read, close for 7,000 separate files), and that doesn't phase it at all..

Quoted 3 lines
Quoted 2 lines

I had a vague feeling that this code wasn't working actually, and reimplemented it for -mm4.

You do not really feel it in X but on system startup its *quite* impressive.

It's noticeable on launching X apps on my laptop, and at boot time, I was wondering if my init scripts were scrogged - [OK] after [OK] faster than I'd seen before.

Amazing work, thanks Andrew (and all the contributors...)