From: Subrata M. <su...@li...> - 2008-10-15 15:02:39
|
On Wed, 2008-10-08 at 11:30 +0530, Veerendra wrote: > Hi , > > I noticed the OOM killer while running the hackbench tests in zSeries. > The machine had memory of 2GB and swap space of 1GB. > While running the 'hackbench 300' noticed this OOMs. > > I used the z9 Lpar box to test this. > It utilised the swap mem upto 500 MB, though it had upto 1GB of swap ! > Did you use the following ?: hackbench01 hackbench 50 process 1000 hackbench02 hackbench 20 thread 1000 This is supposed not to throw up any error(s) or OOM. Regards-- Subrata > [root@veeru-s390 ~]# cat /etc/issue > Red Hat Enterprise Linux Server release 5.2 (Tikanga) > Kernel \r on an \m > > [root@veeru-s390 ~]# uname -a > Linux veeru-s390 2.6.18-117.el5 #1 SMP Tue Sep 30 20:27:56 CEST 2008 > s390x s390x s390x GNU/Linux > > Every 2.0s: free -mo > Tue Oct 7 11:29:23 2008 > > total used free shared buffers cached > Mem: 2008 1997 11 0 1 3 > Swap: 1023 484 539 > > > Oct 7 11:07:05 veeru-s390 kernel: Out of memory: Killed process 11088 > (hackbench). > Oct 7 11:09:46 veeru-s390 kernel: hackbench invoked oom-killer: > gfp_mask=0xd0, order=2, oomkilladj=0 > Oct 7 11:09:46 veeru-s390 kernel: 0000000062957ac0 0000000062957ac0 > 0000000000000002 0000000000000000 > Oct 7 11:09:46 veeru-s390 kernel: 0000000062957b60 > 0000000062957ad8 0000000062957ad8 000000000003cb9e > Oct 7 11:09:46 veeru-s390 kernel: 0000000000005409 > 0000000000000000 0000000000000000 000000000000000b > Oct 7 11:09:46 veeru-s390 kernel: 0000000000000008 > 0000000000000000 0000000062957ac0 0000000062957b38 > Oct 7 11:09:46 veeru-s390 kernel: 000000000025fb80 > 0000000000016586 0000000062957ac0 0000000062957b10 > Oct 7 11:09:46 veeru-s390 kernel: Call Trace: > Oct 7 11:09:46 veeru-s390 kernel: ([<00000000000164de>] > show_trace+0x11e/0x130) > Oct 7 11:09:46 veeru-s390 kernel: [<000000000008817c>] > out_of_memory+0x94/0x264 > Oct 7 11:09:46 veeru-s390 kernel: [<0000000000089fdc>] > __alloc_pages+0x280/0x314 > Oct 7 11:09:46 veeru-s390 kernel: [<000000000008a0de>] > __get_free_pages+0x6e/0xa4 > Oct 7 11:09:46 veeru-s390 kernel: [<000000000009386a>] > __pmd_alloc+0x32/0xd4 > Oct 7 11:09:46 veeru-s390 kernel: [<00000000000958b8>] > copy_page_range+0x12c/0x618 > Oct 7 11:09:46 veeru-s390 kernel: [<000000000003a912>] > copy_process+0xe5a/0x1724 > Oct 7 11:09:46 veeru-s390 kernel: [<000000000003b250>] do_fork+0x74/0x1f4 > Oct 7 11:09:46 veeru-s390 kernel: [<000000000001887c>] > sys_clone+0x50/0x60 > Oct 7 11:09:46 veeru-s390 kernel: [<00000000000208f0>] > sysc_tracego+0xe/0x14 > Oct 7 11:09:46 veeru-s390 kernel: [<0000004e5b3aa326>] 0x4e5b3aa326 > Oct 7 11:09:46 veeru-s390 kernel: > Oct 7 11:09:46 veeru-s390 kernel: Mem-info: > Oct 7 11:09:46 veeru-s390 kernel: DMA per-cpu: > Oct 7 11:09:46 veeru-s390 kernel: cpu 0 hot: high 186, batch 31 used:136 > Oct 7 11:09:46 veeru-s390 kernel: cpu 0 cold: high 62, batch 15 used:54 > Oct 7 11:09:46 veeru-s390 kernel: cpu 1 hot: high 186, batch 31 used:158 > Oct 7 11:09:46 veeru-s390 kernel: cpu 1 cold: high 62, batch 15 used:49 > Oct 7 11:09:46 veeru-s390 kernel: cpu 2 hot: high 186, batch 31 used:177 > Oct 7 11:09:46 veeru-s390 kernel: cpu 2 cold: high 62, batch 15 used:50 > Oct 7 11:09:46 veeru-s390 kernel: cpu 3 hot: high 186, batch 31 used:121 > Oct 7 11:09:46 veeru-s390 kernel: cpu 3 cold: high 62, batch 15 used:58 > Oct 7 11:09:46 veeru-s390 kernel: DMA32 per-cpu: empty > Oct 7 11:09:46 veeru-s390 kernel: Normal per-cpu: empty > Oct 7 11:09:46 veeru-s390 kernel: HighMem per-cpu: empty > Oct 7 11:09:46 veeru-s390 kernel: Free pages: 194560kB (0kB HighMem) > Oct 7 11:09:46 veeru-s390 kernel: Active:146742 inactive:588 dirty:0 > writeback:0 unstable:0 free:48640 slab:40794 mapped-file:1 > mapped-anon:146166 pagetables:47218 > Oct 7 11:09:46 veeru-s390 kernel: DMA free:194560kB min:5792kB > low:7240kB high:8688kB active:586896kB inactive:2352kB present:2097152kB > pages_scanned:1045101 all_unreclaimable? yes > Oct 7 11:09:46 veeru-s390 kernel: lowmem_reserve[]: 0 0 0 0 > Oct 7 11:09:46 veeru-s390 kernel: DMA32 free:0kB min:0kB low:0kB > high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 > all_unreclaimable? no > Oct 7 11:09:46 veeru-s390 kernel: lowmem_reserve[]: 0 0 0 0 > Oct 7 11:09:46 veeru-s390 kernel: Normal free:0kB min:0kB low:0kB > high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 > all_unreclaimable? no > Oct 7 11:09:46 veeru-s390 kernel: lowmem_reserve[]: 0 0 0 0 > Oct 7 11:09:46 veeru-s390 kernel: HighMem free:0kB min:128kB low:128kB > high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 > all_unreclaimable? no > Oct 7 11:09:46 veeru-s390 kernel: lowmem_reserve[]: 0 0 0 0 > Oct 7 11:09:46 veeru-s390 kernel: DMA: 27830*4kB 10223*8kB 1*16kB > 1*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 194560kB > Oct 7 11:09:46 veeru-s390 kernel: DMA32: empty > Oct 7 11:09:46 veeru-s390 kernel: Normal: empty > Oct 7 11:09:46 veeru-s390 kernel: HighMem: empty > Oct 7 11:09:46 veeru-s390 kernel: 1208 pagecache pages > Oct 7 11:09:46 veeru-s390 kernel: Swap cache: add 0, delete 0, find > 0/0, race 0+0 > Oct 7 11:09:46 veeru-s390 kernel: Free swap = 0kB > Oct 7 11:09:46 veeru-s390 kernel: Total swap = 0kB > Oct 7 11:09:46 veeru-s390 kernel: Free swap: 0kB > Oct 7 11:09:46 veeru-s390 kernel: 524288 pages of RAM > Oct 7 11:09:46 veeru-s390 kernel: 10013 reserved pages > Oct 7 11:09:46 veeru-s390 kernel: 406538 pages shared > Oct 7 11:09:46 veeru-s390 kernel: 0 pages swap cached > > But while running the hackbench in x86_64 , the testcase quit, > displaying error "fork() (error: Cannot allocate memory) " > > Regards, Veerendra C > ________________________________________________________ > Linux Technology Center, India Software Labs, Bangalore, Ph: 080-4177 6428 > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ltp-list mailing list > Ltp...@li... > https://lists.sourceforge.net/lists/listinfo/ltp-list |