From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Josiane Tack Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: problem with swap Date: Wed, 21 Jan 2004 10:45:39 +0100 (CET) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200401210945.i0L9jcvN024933@babouin.dstu.univ-montp2.fr> Reply-To: Josiane Tack NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: sea.gmane.org 1074678466 9991 80.91.224.253 (21 Jan 2004 09:47:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2004 09:47:46 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jan 21 10:47:39 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AjExW-0008BY-00 for ; Wed, 21 Jan 2004 10:47:39 +0100 Original-Received: (qmail 4420 invoked by uid 5); 21 Jan 2004 09:47:16 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4405 invoked by uid 49493); 21 Jan 2004 09:47:16 -0000 Original-Received: from Josiane.Tack@dstu.univ-montp2.fr by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.6/5.0):. Processed in 2.254073 secs); 21 Jan 2004 09:47:16 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 21 Jan 2004 09:47:13 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRU0053936OHW@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 Jan 2004 04:47:12 -0500 (EST) Original-Received: from babouin.dstu.univ-montp2.fr (mailhost1.dstu.univ-montp2.fr [162.38.140.193]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRU004GB35SA0@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 Jan 2004 04:46:42 -0500 (EST) Original-Received: from babouin (babouin [162.38.140.193]) by babouin.dstu.univ-montp2.fr (8.12.10/jtpda-5.4) with SMTP id i0L9jcvN024933 for ; Wed, 21 Jan 2004 10:45:39 +0100 (CET) Original-To: tru64-unix-managers@ornl.gov X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.5 SunOS 5.9 sun4u sparc Content-MD5: dq+9UW7jDv/nLLhzUEivsg== Xref: main.gmane.org gmane.os.tru64.managers:6259 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6259 Hi, Thank you to Lanier John, Daniel Clar, Brusche Johan, Oisin McGuinness, Mar= tin=20 R=F8nde Andersen, Alan Rollow, Joachim J=E4ckel, Jose A. Fabregas Reyes for= their=20 quick answers. The most frequently answer is about increase data_size values >Your problem is this : >per_proc_data_size =3D 1073741824 >max_per_proc_data_size =3D 1073741824 > >You have to make them bigger,.. so I increase per_proc_data_size and max_per_proc_data_size: per_proc_data_size =3D 2147483648 max_per_proc_data_size =3D 2147483648 the size is now 2 Gb and my program stop when I try to allocate more memory= then=20 2Go! so the swap seams possible if the limit data_size is greater then the size = of=20 the Ram... thank you very much to this list... Best Regards Josiane my question was: >Hello > >I have a problem of swaping.... > >1- The configuration of the station > >my station is a COMPAQ AlphaServer DS10 617 MHz Tru64 UNIX V5.1A >with 1 Go of RAM > > >the configuration of the swap is: > >B# swapon -s >Swap partition /dev/disk/dsk0b: > Allocated space: 98304 pages (768MB) > In-use space: 1 pages ( 0%) > Free space: 98303 pages ( 99%) > >Swap partition /dev/disk/dsk1a: > Allocated space: 256000 pages (1.95GB) > In-use space: 1 pages ( 0%) > Free space: 255999 pages ( 99%) > > >Total swap allocation: > Allocated space: 354304 pages (2.70GB) > In-use space: 2 pages ( 0%) > Available space: 354302 pages ( 99%) > > >the others configurations are: > >B# /sbin/sysconfig -q proc >proc: >max_proc_per_user =3D 256 >max_threads_per_user =3D 1024 >per_proc_stack_size =3D 33554432 >max_per_proc_stack_size =3D 33554432 >per_proc_data_size =3D 1073741824 >max_per_proc_data_size =3D 1073741824 >max_per_proc_address_space =3D 4294967296 >per_proc_address_space =3D 4294967296 >executable_stack =3D 0 >autonice =3D 0 >autonice_time =3D 600 >autonice_penalty =3D 4 >open_max_soft =3D 4096 >open_max_hard =3D 4096 >ncallout_alloc_size =3D 8192 >round_robin_switch_rate =3D 0 >sched_min_idle =3D 0 >give_boost =3D 1 >maxusers =3D 1024 >num_wait_queues =3D 1024 >num_timeout_hash_queues =3D 1024 >enhanced_core_name =3D 0 >enhanced_core_max_versions =3D 16 >exec_disable_arg_limit =3D 0 > > ># /sbin/sysconfig -q vm >vm: >ubc_minpercent =3D 10 >ubc_maxpercent =3D 100 >ubc_borrowpercent =3D 20 >vm_max_wrpgio_kluster =3D 32768 >vm_max_rdpgio_kluster =3D 16384 >vm_cowfaults =3D 4 >vm_segmentation =3D 1 >vm_ubcpagesteal =3D 24 >vm_ubcfilemaxdirtypages =3D 4294967295 >vm_ubcdirtypercent =3D 40 >ubc_maxdirtywrites =3D 5 >ubc_maxdirtymetadata_pcnt =3D 70 >ubc_kluster_cnt =3D 32 >vm_ubcseqstartpercent =3D 50 >vm_ubcseqpercent =3D 10 >vm_csubmapsize =3D 1048576 >vm_ubcbuffers =3D 256 >vm_syncswapbuffers =3D 128 >vm_asyncswapbuffers =3D 4 >vm_clustermap =3D 1048576 >vm_clustersize =3D 65536 >vm_syswiredpercent =3D 80 >vm_troll_percent =3D 4 >vm_inswappedmin =3D 1 >vm_page_free_target =3D 512 >vm_page_free_swap =3D 266 >vm_page_free_hardswap =3D 8192 >vm_page_free_min =3D 20 >vm_page_free_reserved =3D 10 >vm_page_free_optimal =3D 266 >vm_swap_eager =3D 0 >swapdevice =3D /dev/disk/dsk0b,/dev/disk/dsk1a >vm_page_prewrite_target =3D 1024 >vm_ffl =3D 1 >ubc_ffl =3D 1 >vm_rss_maxpercent =3D 100 >anon_rss_enforce =3D 0 >vm_rss_block_target =3D 266 >vm_rss_wakeup_target =3D 266 >kernel_stack_pages =3D 0 >vm_min_kernel_address =3D 18446741891866165248 >malloc_percpu_cache =3D 1 >vm_aggressive_swap =3D 0 >new_wire_method =3D 1 >vm_segment_cache_max =3D 50 >gh_chunks =3D 0 >rad_gh_regions[0] =3D 0 >rad_gh_regions[1] =3D 0 >rad_gh_regions[2] =3D 0 >rad_gh_regions[3] =3D 0 >rad_gh_regions[4] =3D 0 >rad_gh_regions[5] =3D 0 >rad_gh_regions[6] =3D 0 ..... >rad_gh_regions[63] =3D 0 >gh_min_seg_size =3D 8388608 >gh_fail_if_no_mem =3D 1 >private_cache_percent =3D 0 >gh_keep_sorted =3D 0 >gh_front_alloc =3D 1 >replicate_user_text =3D 1 >enable_yellow_zone =3D 0 >boost_pager_priority =3D 0 >kstack_free_target =3D 5 > > >2- my problem > >when I excute a C program I can't allocate a size table greater then the m= emory=20 >size... > ># ./a.out >try to allocate memory of 1092.727051 Mo... >1030 1030 1030 ... allocation failure 3 in f3tensor() > > > >My question is: >Why my station can't use memory swap (2.70GB) to excute this program? >It seams like only RAM can be use... > >What is wrong in my configuration ?