Skip to contentSkip to conversation

vm benchmarking

DISCUSSION Andrew Morton 3 participants 6 messages Feb 24, 2004 – Feb 25, 2004 Memory management

lore
Share & tools
lore
#0 lore raw

I took the various patches in -mm for a quick ride. Dual CPU, mem=64m, `time make -j4 vmlinux':

2.4.25 2:57.34 2:45.62

up to blk_congestion_wait-return-remaining 5:41.52 5:56.37
up to vmscan-remove-priority
up to kswapd-throttling-fixes 7:44.53
up to vm-dont-rotate-active-list 6:29.23
up to vm-dont-rotate-active-list-padding
up to vm-lru-info 9:28.47 6:14.70 5:11.99
up to vm-shrink-zone
up to vm-shrink-zone-div-by-0-fix 9:13.21 8:17.29
up to vm-tune-throttle 7:39.89
up to shrink_slab-for-all-zones 7:06.27
up to zone-balancing-fix 7:46.15
up to zone-balancing-batching
up to zone-balancing-batching-fix 4:44.76 4:27.02 4:05.56 4:31.66 4:06.76

Based on this, and on your totally contradictory benchmarking, all I'm prepared to say is that kswapd-throttling-fixes slows things down, and we don't know why. The rest appears to be worth zilch. Possibly they slow some things down as much as they speed other things up.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#1 lore raw
Quoted 6 lines · Andrew Morton

I took the various patches in -mm for a quick ride. Dual CPU, mem=64m, `time make -j4 vmlinux':

2.4.25 2:57.34 2:45.62

Quoted 13 lines

up to blk_congestion_wait-return-remaining 5:41.52 5:56.37
up to vmscan-remove-priority
up to kswapd-throttling-fixes 7:44.53
up to vm-dont-rotate-active-list 6:29.23
up to vm-dont-rotate-active-list-padding
up to vm-lru-info 9:28.47 6:14.70 5:11.99
up to vm-shrink-zone
up to vm-shrink-zone-div-by-0-fix 9:13.21 8:17.29
up to vm-tune-throttle 7:39.89
up to shrink_slab-for-all-zones 7:06.27
up to zone-balancing-fix 7:46.15
up to zone-balancing-batching
up to zone-balancing-batching-fix 4:44.76 4:27.02 4:05.56 4:31.66 4:06.76

Can you clarify what these numbers mean?

Nikita.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#2 lore raw
Quoted 22 lines · Nikita Danilov
Quoted 6 lines · Andrew Morton

I took the various patches in -mm for a quick ride. Dual CPU, mem=64m, `time make -j4 vmlinux':

2.4.25 2:57.34 2:45.62

Quoted 13 lines

up to blk_congestion_wait-return-remaining 5:41.52 5:56.37
up to vmscan-remove-priority
up to kswapd-throttling-fixes 7:44.53
up to vm-dont-rotate-active-list 6:29.23
up to vm-dont-rotate-active-list-padding
up to vm-lru-info 9:28.47 6:14.70 5:11.99
up to vm-shrink-zone
up to vm-shrink-zone-div-by-0-fix 9:13.21 8:17.29
up to vm-tune-throttle 7:39.89
up to shrink_slab-for-all-zones 7:06.27
up to zone-balancing-fix 7:46.15
up to zone-balancing-batching
up to zone-balancing-batching-fix 4:44.76 4:27.02 4:05.56 4:31.66 4:06.76

Quoted 2 lines

Can you clarify what these numbers mean?

Duration of `time make -j4 vmlinux', minutes:seconds
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#4 lore raw
In reply to Nick Piggin
Quoted 3 lines · Nick Piggin

My machine doesn't touch swap at make -j4 with mem=64m. It is dual CPU with a SMP kernel but I was using maxcpus=1.

It is light-to-moderate paging.

Quoted 2 lines

It compiles 2.4.21 with gcc-3.3.3 I think (I can tell you when I get home).

gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

This is a 2.4.19 defconfig build.

Quoted 1 line

I can't explain your results. Maybe you have other stuff running.

Only `vmstat 1'.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#3 lore raw
In reply to Andrew Morton
Quoted 21 lines · Andrew Morton

I took the various patches in -mm for a quick ride. Dual CPU, mem=64m, `time make -j4 vmlinux':

2.4.25 2:57.34 2:45.62

up to blk_congestion_wait-return-remaining 5:41.52 5:56.37
up to vmscan-remove-priority
up to kswapd-throttling-fixes 7:44.53
up to vm-dont-rotate-active-list 6:29.23
up to vm-dont-rotate-active-list-padding
up to vm-lru-info 9:28.47 6:14.70 5:11.99
up to vm-shrink-zone
up to vm-shrink-zone-div-by-0-fix 9:13.21 8:17.29
up to vm-tune-throttle 7:39.89
up to shrink_slab-for-all-zones 7:06.27
up to zone-balancing-fix 7:46.15
up to zone-balancing-batching
up to zone-balancing-batching-fix 4:44.76 4:27.02 4:05.56 4:31.66 4:06.76

Quoted 6 lines

Based on this, and on your totally contradictory benchmarking, all I'm prepared to say is that kswapd-throttling-fixes slows things down, and we don't know why. The rest appears to be worth zilch. Possibly they slow some things down as much as they speed other things up.

My machine doesn't touch swap at make -j4 with mem=64m. It is dual CPU with a SMP kernel but I was using maxcpus=1.

It compiles 2.4.21 with gcc-3.3.3 I think (I can tell you when I get home).

I can't explain your results. Maybe you have other stuff running.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#5 lore raw
In reply to Andrew Morton
Quoted 9 lines · Andrew Morton
Quoted 3 lines · Nick Piggin

My machine doesn't touch swap at make -j4 with mem=64m. It is dual CPU with a SMP kernel but I was using maxcpus=1.

It is light-to-moderate paging.

Quoted 9 lines
Quoted 3 lines

It compiles 2.4.21 with gcc-3.3.3 I think (I can tell you when I get home).

gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

This is a 2.4.19 defconfig build.

So it should be pretty similar to what I've been doing.

Quoted 6 lines
Quoted 2 lines

I can't explain your results. Maybe you have other stuff running.

Only `vmstat 1'.

That shouldn't hurt. Maybe running two CPUs is a problem. I'd better try that.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>