Information on lwp in solaris
can any one tell me the implementation of lwp in solaris. and also the
differences between NT threads and solaris threads
Hi,
have a look at this thread,
Need material on development of dashboards and scorecards in VC
Similar Messages
-
/usr/lib/lwp in Solaris 8
Okay, I have seen earlier posts that suggests to put /usr/lib/lwp in front
of your LD_LIBRARY_PATH for Solaris 8 and for JDK 1.3.1. A lot have said
that increased the performance by 10 to 20%.
From what I can see, this will effectively use libthread.so in /usr/lib/lwp
instead of the the shared library with the same name in /usr/lib.
What is the difference between those two shared libraries? My understanding
that Solaris always uses lwp ( light-weight processes .. many-to-many ) by
default anyway, so I am curious as to what the directory name "lwp" mean.
Will BEA support this if you change the LD_LIBRARY_PATH?
Thanks,
JohnOK, I can see how you might have concluded that this would be most
useful with fewer threads, but actually the only downside to using the
alternate threads library would be if you are creating many short lived
threads. The reason is that creating a bound thread is 4-5 times slower
than creating an unbound one. However, WebLogic recommends pooling user
created thread anyway, so this should not be an issue. You won't likely
notice the extra system overhead associated with the extra kernel
threads and LWPs plus Solaris will most likely manage the thread
scheduling much better than the JVM will.
-Charlie
Charlie Therit wrote:
I'm not sure how you came to the conclusion that it would be best used
where fewer threads are involved. The performance differences will
best measured with load test tools that measure throughput. However,
you should see differences in the JVM LWP/thread allocation by using
the ps command's -L options and/or pstack. You should also detect
differences in CPU utilization with vmstat/mpstat in that you may
reach higher utilization levels with less system overhead.
And yes, BEA does recommend this configuration and will support it.
-Charlie
"Jesus M. Salvo Jr." wrote:
Thanks. It's more clear now. So it seems like it is best used for
apps with
few threads.
Will / Does BEA support WebLogic Server using this thread library?
Raja Mukherjee wrote:
Jesus,
From Dimitri and Joel you already got the information you needed.The
official SUN reply can be found in
http://supportforum.sun.com/freesolaris/techfaqs.html?techfaqs_2957
Hope this helps...
.raja
"Jesus M. Salvo Jr." <[email protected]> wrote in message
news:[email protected]...
Yup, that was the thread I was referring to .... but still not
clear what
the difference in really technical details between libthread.soin
/usr/lib
and in /usr/lib/lwp.
Dmitri did explain to me offline, but I am still not clear. e.g.:
It
seems like /usr/lib/lwp/libthread.so uses a different threadingmodel
than the one /usr/lib.
In any case, how do you monitor that using libthread.so in/usr/lib/lwp
did
have an effect? ps?
Mike Reiche wrote:
Follow the links in this link.
h
tp://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.develo
per.interest.performance&item=3134&utag=
Jesus M. Salvo Jr. <[email protected]> wrote:
Okay, I have seen earlier posts that suggests to put
/usr/lib/lwp in
front
of your LD_LIBRARY_PATH for Solaris 8 and for JDK 1.3.1. A lothave
said
that increased the performance by 10 to 20%.
From what I can see, this will effectively use libthread.so in
/usr/lib/lwp
instead of the the shared library with the same name in/usr/lib.
What is the difference between those two shared libraries? My
understanding
that Solaris always uses lwp ( light-weight processes ..many-to-many
) by
default anyway, so I am curious as to what the directory name"lwp"
mean.
Will BEA support this if you change the LD_LIBRARY_PATH?
Thanks,
John
[att1.html] -
Problem with solaris 10 08/11 installation on x86 workstation (DELL T5500)
Trying to install solaris 10 08/11 installation on x86 workstation (DELL T5500). Following error message was received after selecting the Oracle Solaris interactive Text (Desktop Session) installation method-
SunOS Release 5.10 Version Generic_147441-01 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Configuring devices.
SUNW-MSG-ID: SUNOS-8000-0G, TYPE: Error, VER: 1, SEVERITY: Major
EVENT-TIME: 0x5075a820.0x8f97a90 (0x1693e68979)
PLATFORM: i86pc, CSN: -, HOSTNAME:
SOURCE: SunOS, REV: 5.10 Generic_147441-01
DESC: Errors have been detected that require a reboot to ensure system
integrity. See http://www.sun.com/msg/SUNOS-8000-0G for more information.
AUTO-RESPONSE: Solaris will attempt to save and diagnose the error telemetry
IMPACT: The system will sync files, save a crash dump if needed, and reboot
REC-ACTION: Save the error summary below in case telemetry cannot be saved
panic[cpu0]/thread=fffffe80000b3c60: pcieb-7: PCI(-X) Express Fatal Error. (0x4)
fffffe80000b3bf0 pcieb:pcieb_intr_handler+1ea ()
fffffe80000b3c40 unix:av_dispatch_autovect+78 ()
fffffe80000b3c50 unix:intr_thread+5f ()
syncing file systems... done
ereport.io.pci.fabric ena=1693e6221600001 detector=[ version=0 scheme="dev"
device-path="/pci@19,0/pci8086,3410@9" ] bdf=2048 device_id=3410 vendor_id=
8086 rev_id=22 dev_type=40 pcie_off=90 pcix_off=0 aer_off=100 ecc_ver=0
pci_status=10 pci_command=47 pci_bdg_sec_status=0 pci_bdg_ctrl=3 pcie_status=6
pcie_command=7 pcie_dev_cap=8021 pcie_adv_ctl=5 pcie_ue_status=4020
pcie_ue_mask=100000 pcie_ue_sev=62030 pcie_ue_hdr0=0 pcie_ue_hdr1=0
pcie_ue_hdr2=0 pcie_ue_hdr3=0 pcie_ce_status=0 pcie_ce_mask=0
pcie_ue_tgt_trans=0 pcie_ue_tgt_addr=0 pcie_ue_tgt_bdf=ffff pcie_rp_status=0
pcie_rp_control=0 pcie_adv_rp_status=7c pcie_adv_rp_command=7
pcie_adv_rp_ce_src_id=2048 pcie_adv_rp_ue_src_id=2048 remainder=0 severity=44
skipping system dump - no dump device configured
rebooting...
Any ideas?Sometimes, it's just easier and faster
to just start all over and re-install,
particularly when you have only a fresh install on your system.
This time, do not choose to include all the optional "documentation"
(that's what is held on CD5).
I have never found a reason to ever read that documentation so I stopped installing it.
... or you could download and burn a copy of CD5 and use it when prompted. -
Solaris 2.6 - Solaris 8 - differences in memset ABI
Try the following C program against Solaris 2.6 and 8 libraries:
#include <string.h>
char string[133];
main(){
memset (string, 'a', 132);
string[132] = 0;
memset (string + 66, 'b', -33);
printf ("%s", string);
Under Solaris 2.6:
% a.out
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Under Solaris 8:
% a.out
Segmentation Fault
It looks to me like the way memset() is implemented in the libraries is different between Solaris 2.6 and Solaris 8. In Solaris 2.6, the library (incorrectly) ignores memsets with negative numbers as the count. In Solaris 8, the library (correctly) converts the signed integer into an unsigned one, then fails as it tries to memset almost 2GB memory.
Comments welcome.Does someone can tell me where i can find information about
migration from solaris 2.6 to 8.0 concerning C and C++ programs and shell scripts
Thanks you in advance
sunsifac -
Solaris intel (x86) DCA not saving when rebooted.
I'm working with a Panasonic CF-71 toughbook laptop. I have loaded the 2.6 Solaris intel OS and the Xig PCMCIA patch. I have been successful in getting a 3Com 3C589D card to work, but only if I enter into DCA at boot time and delete the PnP ISA PCMCIA device at port 3e2-3e3 and then add a ISA PCMCIA device at port 3e2-3e3. Unfortunately this must be done every time the system is rebooted. Does any one know of a way to do this delete/add using the /etc/system file? Any help is much appreciated.
Matt . . .Hi
I have download Solaris 9 x86 and Cd1 at boot time gives the same error as you mentioned. I am using my Toshiba Satellite A60. I have check the HDL list and its not listed there. Does it mean I can not install Solaris 9 x86 on this box. When I boot I get the same error which is mentioned above.
For more information I never installed Solaris in past and have no idea which Disk space /partition to be created it talks about in Install Guide.
Can some please clarify and do let me know where am I going wrong and how to fix it.
Thanks in Advance
Owais -
Solaris upgradation from 2.6 to 8
Hi Admins,
any one can help me out in upgrading solaris 6 to 8. what r the pre upgradation and post-upgradation steps to be followed ..inordered to get error free upgradation.
Appreciated for the help needed.
Thankin you,
KondaDoes someone can tell me where i can find information about
migration from solaris 2.6 to 8.0 concerning C and C++ programs and shell scripts
Thanks you in advance
sunsifac -
Migrating from Solaris 2.6 to 8.0
We are migrating from Solaris 2.6 to 8.0, and my concern is all code and application which are on 2.6 is portable or not ?. Also we are using oracle 8.1.7 as out database. All code are written in C.
Can anyone help me in this "porting"?
Thanks in advance
KPDoes someone can tell me where i can find information about
migration from solaris 2.6 to 8.0 concerning C and C++ programs and shell scripts
Thanks you in advance
sunsifac -
Panic T5240 after of terminated install SO Solaris 10 10/08
Hi
After finishing the installation of operating system, panic in the server, it clears hardware cards FC and it tries to start with the minimum in the server, creates a new alias whit path logic of the disk, and to try to booter .aid.....after panic reboot and so on.... for that reason I only stick the following capture
, No Keyboard
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.30.0, 16160 MB memory available, Serial #83049876.
Ethernet address 0:14:4f:f3:3d:94, Host ID: 84f33d94.
Boot device: /pci@400/pci@0/pci@8/scsi@0/disk@1,0:a File and args: -s
WARNING: cannot open system file: /etc/system
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
panic[cpu0]/thread=180e000: read_binding_file: /etc/name_to_major file not found
000000000180b640 genunix:read_binding_file+2d8 (18a99cc, 18fd7b0, 1218db8, 7ffffc00, 7530, 1275c00)
%l0-3: fffffcfffeae6008 fffffcfffeae6000 ffffffffffffffff 0000000000000000
%l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000000000180b800 genunix:mod_setup+1c (185f800, 185f800, 0, 3c00, 1218c00, 18fd400)
%l0-3: 0000000000000000 000000000185d800 000000000000752b 000000000185d800
%l4-7: 0000000000007530 0000000000000005 0000000001862c00 000000000182b400
000000000180b8b0 unix:startup_modules+24 (1968000, 185d800, 183d400, 1832800, 80000, 0)
%l0-3: 0000000070002000 000000000185d400 0000000000000103 0000000070004000
%l4-7: 0000000070004000 0000000001826c00 000000000187b800 0000000001c00000
000000000180b960 unix:startup+28 (2, 1, 1, 1, 1, 1045000)
%l0-3: 000000000dbab91d 03b9aca000000000 00000000457656f0 000000000000001c
%l4-7: 000000000000048e 000000004585992f 00000000457656f0 000000000106b160
000000000180ba10 genunix:main+c (0, 180c000, 185b240, 10aec00, 1831948, 70002000)
%l0-3: 000000000101a800 0000000000000001 0000000070002000 0000000000000002
%l4-7: 0000000001862800 0000000000000000 000000000180c000 0000000000000001
skipping system dump - no dump device configured
rebooting...how was this resolved? I have a similiar issue with new 5240
SUNW-MSG-ID: SUNOS-8000-0G, TYPE: Error, VER: 1, SEVERITY: Major
EVENT-TIME: 0x49faf52f.0x55d26cc (0x10ffa3017bcf0d)
PLATFORM: SUNW,T5240, CSN: -, HOSTNAME:
SOURCE: SunOS, REV: 5.10 Generic_137137-09
DESC: Errors have been detected that require a reboot to ensure system
integrity. See http://www.sun.com/msg/SUNOS-8000-0G for more information.
AUTO-RESPONSE: Solaris will attempt to save and diagnose the error telemetry
IMPACT: The system will sync files, save a crash dump if needed, and reboot
REC-ACTION: Save the error summary below in case telemetry cannot be saved
panic[cpu0]/thread=180e000: Fatal error has occured in: PCIe root complex.(0x10)(0x0) -
Solaris 10 on Dual Athlon MP, can't install, keeps rebooting
Hi All,
I've been trying to install Solaris 10 onto my machine:
Tyan Thunder K7X (AMD 760MP Chipset)
2x AMD Athlon 2400+
2,5 GB Memory
Adaptec 2100S Raid Controllers
When the installation CD boots, you see a couple of dots appearing, then some text shows which quickly disappeared while the machine was rebooting. It was to fast for me to read, so I thought I might be a little more lucky by attaching a serial console to my pc. This captured the following information:
==========================================================
SunOS Release 5.10 Version Generic_118855-33 32-bit
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
WARNING: Machine-Check Exception in kernel mode
WARNING: 0 STAT 0xf620a00000000833 ADDR 0x00000000000e4000
SUNW-MSG-ID: SUNOS-8000-0G, TYPE: Error, VER: 1, SEVERITY: Major
EVENT-TIME: 0x0.0x0 (0x0)
PLATFORM: i86pc, CSN: -, HOSTNAME:
SOURCE: SunOS, REV: 5.10 Generic_118855-33
DESC: Errors have been detected that require a reboot to ensure system
integrity. See http://www.sun.com/msg/SUNOS-8000-0G for more information.
AUTO-RESPONSE: Solaris will attempt to save and diagnose the error telemetry
IMPACT: The system will sync files, save a crash dump if needed, and reboot
REC-ACTION: Save the error summary below in case telemetry cannot be saved
panic[cpu0]/thread=fec1f4e0: Unrecoverable Machine-Check Exception
fec35720 unix:cmi_mca_trap+54 (fec3572c)
fec3572c unix:mcetrap+59 (fec301b0, fe810000,)
fec3577c acpica:AcpiUtTrackStackPtr+24 (cea4b010, fec357a0,)
fec35788 acpica:AcpiTbValidateRsdp+9 (cea4b010)
fec357a0 acpica:AcpiTbScanMemoryForRsdp+33 (cea47000, 20000)
fec357c8 acpica:AcpiTbFindRsdp+1d7 (fec357e0, 8)
fec35808 acpica:AcpiFindRootPointer+34 (8, fec35834, fec358)
fec35818 acpica:AcpiOsGetRootPointer+e (8, fec35834)
fec35850 acpica:AcpiGetFirmwareTable+57 (fec942d0, 1, 8, fec)
fec3586c acpica:acpica_metro_old_bios+18 (fec35904, 1, d59b1c)
fec35888 acpica:acpica_process_user_options+f9 (fec35904, 1, d59b1c)
fec3589c acpica:acpica_init+b (d59b1c68, fffffffe,)
fec358b0 acpica:acpi_isa_device_enum+9f (d59b1c68)
fec35920 isa:isa_alloc_nodes+e1 (d59b1c68)
fec35934 isa:isa_attach+2b (d59b1c68, 0)
fec35968 genunix:devi_attach+6f (d59b1c68, 0)
fec35984 genunix:attach_node+78 (d59b1c68)
fec3599c genunix:i_ndi_config_node+82 (d59b1c68, 6, 0)
fec359b4 genunix:i_ddi_attachchild+32 (d59b1c68)
fec359cc genunix:i_ddi_attach_node_hierarchy+60 (d59b1c68)
fec359e8 genunix:attach_driver_nodes+49 (78)
fec359f8 genunix:i_ddi_attach_pseudo_node+1c (fec071ac)
fec35a04 unix:configure+60 (fec35a14, fe818a2a,)
fec35a0c unix:startup_end+74 (fec35a24, fe8e3829,)
fec35a14 unix:startup+32 (fe800000, 100fed8, )
fec35a24 genunix:main+1b ()
skipping system dump - no dump device configured
rebooting...
==========================================================
Well I see some ACPI things there, so I tried to circumvent ACPI by one disabling ACPI in the BIOS, two, passing the user-acpi-options=0x2 to the kernel at boot time (tried also with just 2, 4 and 8, whatever they do :P).
The thing is, I kept getting exactly the same results, what's going on here? Is ACPI not disabled, is it not ACPI but something else? I've also tried it with less than 2GB RAM, since I read somebody had trouble installing with over 2GB RAM, but this wouldn't help either. Any help/tips/suggestions are greatly appreciated
My appologies if this thread seems similar I've posted the same question on an other place on the forum (before I found this place), but I think this is the place I should have posted this issue in the first place...SOLVED:
Disabled ECC in the bios (though Windows and Gentoo Linux show now trouble whatsoever with my ECC memory, solaris doesn't like it) -
I18N requrements/suport in Solaris 10
Hi,
I am the I18N engineer and I am testing Veritas products on Solaris.
Sometimes I need a information if some programs or functionality in Solaris meet internationalization requirements.
In other words I need to have information if for instance Solaris storage pool supports DBCS/HIASCII.
Is there any place or maybe Solaris engineer/manager person I can ask for I18N requirements?
Kind regards,
DanielIs there any place or maybe Solaris engineer/manager person I can ask for I18N requirements?There's a bunch of forums on OpenSolaris that deal with this issue.
http://www.opensolaris.org/os/discussions/
And then scroll down to I18N.
alan -
How to get Solaris 10 to boot from the CLI instead of the GUI?
I tried searching on the site but was unable to get useful information from setting up Solaris such that it boots to command prompt instead of the GUI. Any help or suggestions would be appreciated.
This will also work if you're running out-of-the box Solaris 10:
svcadm disable graphical-login/cde-login:defaultThe problem with doing it that way is you then can't use your Solaris host to run SunRay thin clients. If you need to use the box as a SunRay server, you'll have to remove the reference to the :0 display somewhere in /etc/dt/config/Xconfig, IIRC. -
MegaCLI install problem in Solaris 11.2
Hi all, I'm trying to install LSI MegaCLI package downloaded from their website.
But when I do pkg install MegaCli.pkg, I obtain this following error:
pkg install MegaCli.pkg
pkg install: The following pattern(s) did not match any allowable packages. Try
using a different matching pattern, or refreshing publisher information:
MegaCli.pkg
My Solaris has no internet connection and never will. In order to install STB I removed the default IPS publisher:
pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris
I'm new to Solaris, so excuse me if my question is silly!
Thanks for your help.This is likely an SVR4 package, that you need to install with the legacy "pkgadd" command:
pkgadd -d MegaCli.pkg
-- Alan -
Migrating to solaris 2.8 to 8.0
Does someone can tell me where i can find information about
migration from solaris 2.6 to 8.0 concerning C and C++ programs and shell scripts
Thanks you in advance
sunsifacPlease try docs.sun.com. You could find C++ Migration Guide there. As to C, the binary interface for C compiler hasn't changed in years. As such, .o's compiled with any of the compiler versions(From old version workshop 5.0 to the current Sun One Studio 8) should link with .o's from any other versions.
Not sure about script.
- Rose -
I'm trying to run a report that would potentially give me all the system information for all the solaris servers.
So I add all the solaris servers to the target list
On attributes i select the ones I want (typically hostname, hostID, serial number etc)
Now, on the filter screen I want to select ALL the servers. Is there a special word to select this ? (putting in a * gives me absolutely nothing)anyone know how to do this ?
or is it just one of those things that cannot be done ? -
Hi,
In general on Linux boxes we can find rlogin status in /etc/xinted.d/rlogin
eg : # default: on
2 # description: rlogind is the server for the rlogin(1) program. The server \
3 # provides a remote login facility with authentication based on \
4 # privileged port numbers from trusted hosts.
5 service login
6 {
7 disable = no
8 socket_type = stream
9 wait = no
10 user = root
11 log_on_success += USERID
12 log_on_failure += USERID
13 server = /usr/sbin/in.rlogind
14 }
**where can i find this kind of information on Solaris 10. I checked in /etc/inetd.conf but could not find this kind of information**rlogin is a Solaris 10 service.
"svcs -a | grep rlogin" should show you if it is enabled. "svdadm enable rlogin" should enabled it. But anything you can do with telnet, ftp or rlogin you should also be able to do more securely with ssh and sftp.
Maybe you are looking for
-
Installing Adobe Reader & i get the following message "error 1324 path my documents or volume invali
installing Adobe Reader & i get the following message "error 1324 path my documents or volume invalid". Can anybody help. I have just installed windows 8 on my lptop..
-
Alternative Unit of Measure in QM
Hi We have have a product that is managed in a base Unit of Measure (Kg) and also in an alternative UOM (Dozen), say 1Kg = 1Dozen. Please note 1 Dozen = 12 EA, so posting in possible as 5 EA / 6 EA as well I have following requirements: 1) to post in
-
Flash cs5 swf not running properly in captivate 5
Hi, I'm not sure if this is a flash question or a captivate question so I'm posting it to both forums. I have numerous flash cs5 built swfs inserted into a captivate 5 project. All of them are running fine apart from this one. It runs perfectly o
-
Hi my mac keeps crashing since the leopard upgrade can some one please help me out with this crash report as i dont understand them Mon Nov 5 16:58:32 2007 Unresolved kernel trap(cpu 0): 0x700 - Program DAR=0x000000011B904000 PC=0x0000000005889A00 La
-
HELP!!! I have a Yoga 2 - 13 seemed to be working fine but recently I am experiencing a problem where some web pages will not open properly.