just curious: for my development machine it seems a little over done specially when there are many other processes (instances, threads, services, etc.) that must be run.
> -----Original Message----- > From: Mary Edie Meredith [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 10:08 PM > To: Holland, John > Cc: [EMAIL PROTECTED] > Subject: RE: max kernel tasks > > > John, I observe lots of threads on our system too. However the only > ones that appear to be heavily active (savepoints being the exception) > are the USER threads (you can see these listed in x_cons output under > "User Kernel Threads:".) > > Initially the number of USER threads was too *low* on our system (5 on > our 8 way system). We fiddled with our paramaters (MAXCPU and > MAXUSERTASKS) to get the number of users tasks equal to the number of > CPUs (by making sure MAXUSERTASKS is a multiple of MAXCPU when > MAXUSERTASKS is small). This made the number of USER threads one per > cpu, so the cpu utilization on our 8 way improved (and our > throughput). > > Are you having problem with the total number of threads, or > are you just > curious why there are so many (I know I am)? > > > On Wed, 2003-02-05 at 09:43, Holland, John wrote: > > understood... > > both of the metioned parameters are set at 2. > > > > here's a snibbit fo the database messages file when the db starts > > > > > -------------------------------------------------------------- > -------------- > > ---- > > Date Time TID Typ MsgID Label Message-Text > > > -------------------------------------------------------------- > -------------- > > ---- > > 2003-02-05 17:51:50 2852 12769 INFO Starting SERVERDB: > > 'DATABASE' > > 2003-02-05 17:51:50 2852 12770 INFO SERVERNODE: > > 'gateway' > > 2003-02-05 17:51:50 2852 12773 INFO Date: > > 0003-02-05 > > 2003-02-05 17:51:50 2852 12771 INFO > Process ID: 2852 > > 2003-02-05 17:51:50 2852 12772 INFO > Owner: 'sap' > > 2003-02-05 17:51:50 2852 12781 INFO > Version: '32BIT > > Kernel' > > 2003-02-05 17:51:50 2852 12781 INFO Version: > > 'X32/LINUX 7.4.3 Build 007-000-030-320' > > 2003-02-05 17:51:50 2852 12780 INFO DBROOT: > > '/var/opt/sapdb/indep_data/wrk/DATABASE' > > 2003-02-05 17:51:50 2852 12780 INFO > LD_LIBRARY_PATH: > > '/opt/sapdb/depend74/lib:/opt/sapdb/depend74/sap' > > 2003-02-05 17:51:50 2852 12891 INFO maximum core size: 0 MB > > 2003-02-05 17:51:50 2852 12892 INFO maximum number > of open files: > > 1024 > > 2003-02-05 17:51:50 2852 12895 INFO maximum number > of threads: 1024 > > 2003-02-05 17:51:50 2852 12893 INFO maximum > virtual memory size: > > unlimited > > 2003-02-05 17:51:50 2852 12894 INFO maximum heap > size: unlimited > > 2003-02-05 17:51:50 2852 12883 DBSTATE Core dump suppressed > > 2003-02-05 17:51:50 2852 11532 init_shm SHMCHUNK size 0x2000000 > > 2003-02-05 17:51:50 2852 12692 TCLUSTER > > tw;al;ut;2000*sv,100*bup;10*ev,10*gc;ti,100*dw;30000*us;compress > > 2003-02-05 17:51:50 2852 12693 TCLUSTER number of 'BUP': 0 > > 2003-02-05 17:51:50 2852 12693 TCLUSTER number of ' DW': 8 > > 2003-02-05 17:51:50 2852 12693 TCLUSTER number of ' US': 50 > > 2003-02-05 17:51:50 2852 12693 TCLUSTER number of ' SV': 15 > > 2003-02-05 17:51:50 2852 12693 TCLUSTER number of ' EV': 2 > > 2003-02-05 17:51:50 2852 12693 TCLUSTER number of ' GC': 0 > > 2003-02-05 17:51:50 2852 11533 init_shm creating > shared section size > > 323888 > > 2003-02-05 17:51:50 2852 12698 IPC Common RTE > specific IPC key: > > 0x44010000 > > 2003-02-05 17:51:50 2852 11536 init_shm attached > shared section at > > 0x50000000 > > 2003-02-05 17:51:50 2852 11537 init_shm shared section ends at > > 0x5004F130 > > 2003-02-05 17:51:51 2852 11521 PIPE_IO Operating > system does not > > support fstat for input check of pipes > > 2003-02-05 17:51:51 2852 11522 PIPE_IO Input check > for pipe with poll > > supported > > 2003-02-05 17:51:52 2852 12810 EVENTING Eventfile > 'knldiag.evt' 100 > > pages > > 2003-02-05 17:51:52 2852 12812 EVENTING Eventbuffer 2 > events 100 tasks > > 2003-02-05 17:51:52 2852 12814 EVENTING AliveEvent all > 10 seconds > > 2003-02-05 17:51:53 2854 12885 MEMORY 10000 Pages > allocated for I/O > > cache > > 2003-02-05 17:51:53 2854 12886 TASKING Maximum non > user task stack > > size 100KB > > 2003-02-05 17:51:53 2854 12886 TASKING Maximum task > stack size 400KB > > 2003-02-05 17:51:53 2854 12886 TASKING Allocating > task stack chunk for > > 79 tasks > > 2003-02-05 17:51:53 2854 12886 TASKING Maximum single > aligned task > > stack size 400KB > > 2003-02-05 17:51:53 2854 12886 TASKING Size of single > task guard area > > 4KB > > 2003-02-05 17:51:53 2854 12886 TASKING Task stack chunk area [ > > 0x456dd000 - 0x46d84fff ] > > 2003-02-05 17:51:53 2854 12886 TASKING Physical > memory used for task > > stacks 23200KB > > 2003-02-05 17:51:53 2854 12886 TASKING Physical > memory used for guard > > areas 320KB > > 2003-02-05 17:51:53 2854 12831 TRACE_IO Configured > _MAX_MESSAGE_FILES:0 > > 2003-02-05 17:51:53 2854 12832 TRACE_IO Disabled: No > TraceMessagefiles > > wanted > > 2003-02-05 17:51:53 2856 12821 TASKING Thread 2856 starting > > 2003-02-05 17:51:53 2856 11565 startup CONSOLE started > > 2003-02-05 17:51:53 2857 12821 TASKING Thread 2857 starting > > 2003-02-05 17:51:53 2858 12821 TASKING Thread 2858 starting > > 2003-02-05 17:51:53 2859 12821 TASKING Thread 2859 starting > > 2003-02-05 17:51:53 2860 12821 TASKING Thread 2860 starting > > 2003-02-05 17:51:53 2860 11565 startup TIMER started > > 2003-02-05 17:51:53 2861 12821 TASKING Thread 2861 starting > > 2003-02-05 17:51:53 2861 11565 startup REQUESTOR started > > 2003-02-05 17:51:53 2862 12821 TASKING Thread 2862 starting > > 2003-02-05 17:51:53 2862 11565 startup DEV0 started > > 2003-02-05 17:51:53 2863 12821 TASKING Thread 2863 starting > > 2003-02-05 17:51:53 2864 12821 TASKING Thread 2864 starting > > 2003-02-05 17:51:53 2865 12821 TASKING Thread 2865 starting > > 2003-02-05 17:51:53 2866 12821 TASKING Thread 2866 starting > > 2003-02-05 17:51:53 2867 12821 TASKING Thread 2867 starting > > 2003-02-05 17:51:53 2868 12821 TASKING Thread 2868 starting > > 2003-02-05 17:51:53 2869 12821 TASKING Thread 2869 starting > > 2003-02-05 17:51:53 2870 12821 TASKING Thread 2870 starting > > 2003-02-05 17:51:53 2871 12821 TASKING Thread 2871 starting > > 2003-02-05 17:51:53 2872 12821 TASKING Thread 2872 starting > > 2003-02-05 17:51:53 2873 12821 TASKING Thread 2873 starting > > 2003-02-05 17:51:53 2874 12821 TASKING Thread 2874 starting > > 2003-02-05 17:51:53 2875 12821 TASKING Thread 2875 starting > > 2003-02-05 17:51:53 2876 12821 TASKING Thread 2876 starting > > 2003-02-05 17:51:53 2877 12821 TASKING Thread 2877 starting > > 2003-02-05 17:51:53 2878 12821 TASKING Thread 2878 starting > > 2003-02-05 17:51:53 2879 12821 TASKING Thread 2879 starting > > 2003-02-05 17:51:53 2880 12821 TASKING Thread 2880 starting > > 2003-02-05 17:51:53 2881 12821 TASKING Thread 2881 starting > > 2003-02-05 17:51:53 2882 12821 TASKING Thread 2882 starting > > 2003-02-05 17:51:53 2883 12821 TASKING Thread 2883 starting > > 2003-02-05 17:51:53 2884 12821 TASKING Thread 2884 starting > > 2003-02-05 17:51:53 2885 12821 TASKING Thread 2885 starting > > 2003-02-05 17:51:53 2886 12821 TASKING Thread 2886 starting > > 2003-02-05 17:51:53 2887 12821 TASKING Thread 2887 starting > > 2003-02-05 17:51:53 2888 12821 TASKING Thread 2888 starting > > 2003-02-05 17:51:53 2889 12821 TASKING Thread 2889 starting > > 2003-02-05 17:51:53 2890 12821 TASKING Thread 2890 starting > > 2003-02-05 17:51:53 2891 12821 TASKING Thread 2891 starting > > 2003-02-05 17:51:53 2892 12821 TASKING Thread 2892 starting > > 2003-02-05 17:51:53 2893 12821 TASKING Thread 2893 starting > > 2003-02-05 17:51:53 2894 12821 TASKING Thread 2894 starting > > 2003-02-05 17:51:53 2895 12821 TASKING Thread 2895 starting > > 2003-02-05 17:51:53 2896 12821 TASKING Thread 2896 starting > > 2003-02-05 17:51:53 2897 12821 TASKING Thread 2897 starting > > 2003-02-05 17:51:53 2898 12821 TASKING Thread 2898 starting > > 2003-02-05 17:51:53 2899 12821 TASKING Thread 2899 starting > > 2003-02-05 17:51:53 2900 12821 TASKING Thread 2900 starting > > 2003-02-05 17:51:53 2901 12821 TASKING Thread 2901 starting > > 2003-02-05 17:51:53 2902 12821 TASKING Thread 2902 starting > > 2003-02-05 17:51:53 2903 12821 TASKING Thread 2903 starting > > 2003-02-05 17:51:53 2904 12821 TASKING Thread 2904 starting > > 2003-02-05 17:51:53 2905 12821 TASKING Thread 2905 starting > > 2003-02-05 17:51:53 2906 12821 TASKING Thread 2906 starting > > 2003-02-05 17:51:53 2907 12821 TASKING Thread 2907 starting > > 2003-02-05 17:51:53 2908 12821 TASKING Thread 2908 starting > > 2003-02-05 17:51:53 2909 12821 TASKING Thread 2909 starting > > 2003-02-05 17:51:53 2910 12821 TASKING Thread 2910 starting > > 2003-02-05 17:51:53 2911 12821 TASKING Thread 2911 starting > > 2003-02-05 17:51:53 2912 12821 TASKING Thread 2912 starting > > 2003-02-05 17:51:53 2913 12821 TASKING Thread 2913 starting > > 2003-02-05 17:51:53 2914 12821 TASKING Thread 2914 starting > > 2003-02-05 17:51:53 2915 12821 TASKING Thread 2915 starting > > 2003-02-05 17:51:53 2916 12821 TASKING Thread 2916 starting > > 2003-02-05 17:51:53 2917 12821 TASKING Thread 2917 starting > > 2003-02-05 17:51:53 2918 12821 TASKING Thread 2918 starting > > 2003-02-05 17:51:53 2919 12821 TASKING Thread 2919 starting > > 2003-02-05 17:51:53 2920 12821 TASKING Thread 2920 starting > > 2003-02-05 17:51:53 2921 12821 TASKING Thread 2921 starting > > 2003-02-05 17:51:53 2922 12821 TASKING Thread 2922 starting > > 2003-02-05 17:51:53 2923 12821 TASKING Thread 2923 starting > > 2003-02-05 17:51:53 2924 12821 TASKING Thread 2924 starting > > 2003-02-05 17:51:53 2925 12821 TASKING Thread 2925 starting > > 2003-02-05 17:51:53 2926 12821 TASKING Thread 2926 starting > > 2003-02-05 17:51:53 2927 12821 TASKING Thread 2927 starting > > 2003-02-05 17:51:53 2928 12821 TASKING Thread 2928 starting > > 2003-02-05 17:51:53 2929 12821 TASKING Thread 2929 starting > > 2003-02-05 17:51:53 2930 12821 TASKING Thread 2930 starting > > 2003-02-05 17:51:53 2931 12821 TASKING Thread 2931 starting > > 2003-02-05 17:51:53 2932 12821 TASKING Thread 2932 starting > > 2003-02-05 17:51:53 2933 12821 TASKING Thread 2933 starting > > 2003-02-05 17:51:53 2934 12821 TASKING Thread 2934 starting > > 2003-02-05 17:51:53 2935 12821 TASKING Thread 2935 starting > > 2003-02-05 17:51:53 2936 12821 TASKING Thread 2936 starting > > 2003-02-05 17:51:53 2937 12821 TASKING Thread 2937 starting > > 2003-02-05 17:51:53 2938 12821 TASKING Thread 2938 starting > > 2003-02-05 17:51:53 2939 12821 TASKING Thread 2939 starting > > 2003-02-05 17:51:53 2940 12821 TASKING Thread 2940 starting > > 2003-02-05 17:51:53 2941 12821 TASKING Thread 2941 starting > > 2003-02-05 17:51:53 2942 12821 TASKING Thread 2942 starting > > > > > -----Original Message----- > > > From: "D�hr, Markus Hermeskeil" > > > [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, February 05, 2003 6:35 PM > > > To: 'Holland, John'; 'Zabach, Elke'; > '[EMAIL PROTECTED]' > > > Subject: RE: max kernel tasks > > > > > > > > > No, it's not the SIZE but the NUMBER of data segments that > > > are relevant. I > > > have no idea why the machine spawns so much threads then. > > > Maybe someone of > > > the development team can clear things up here. > > > > > > Probably the parameter > > > > > > _IOPROCS_PER_DEV and _IOPROCS_SWITCH are also relevant here... > > > > > > > > > Greetings, > > > > > > -- > > > Markus Doehr SIEGENIA-AUBI KG > > > CCC - SAP R/3 Basis, SAPDB-DBA Industriestr. 1 - 3 > > > fon: +49 6503 917 152 57234 Wilnsdorf-Niederdielfen > > > fax: +49 6503 917 190 http://www.siegenia-aubi.com > > > > > _______________________________________________ > > sapdb.general mailing list > > [EMAIL PROTECTED] > > http://listserv.sap.com/mailman/listinfo/sapdb.general > -- > Mary Edie Meredith <[EMAIL PROTECTED]> > Open Source Development Lab > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
