Performance Question for WL 5.1 on RedHat Linux 6.1

I'm currently evaluating WL 5.1 and installed it on linux.
I have installed the SUN JDK 1.2.2 for linux which should use
native threads.
When I start WL 5.1 I get the following message:
LD_LIBRARY_PATH=/usr/local/weblogic/weblogic/lib/linux:/usr/local/weblog
ic/weblogic/lib/linux
Warning: native threads are not supported in this release
What does this mean?
Also I get the following messages:
Fri Apr 07 08:59:38 CEST 2000:<A> <Posix Performance Pack> Could not
initialize POSIX Performance Pack.
Fri Apr 07 08:59:38 CEST 2000:<E> <Performance Pack> Unable to load
performance pack, using Java I/O.
How much does this impact the performance? Is it better to use NT instead
of linux?
thanks,
Alex

If you want to stick with Sun jdk, and don't want to see the error
messages, set weblogic.system.nativeIO.enable=false in
weblogic.properties. I wouldn't go to NT, because if you can afford it
Solaris on SPARC will be your fastest most reliable platform. We have
Solaris SPARC for production, and do our development on Lintel. For us
staying in a POSIX environment overall keeps things like startup,
environment setting, and make type scripts all on the same page.
Ian
Alexander Sommer wrote:
>
I'm currently evaluating WL 5.1 and installed it on linux.
I have installed the SUN JDK 1.2.2 for linux which should use
native threads.
When I start WL 5.1 I get the following message:
LD_LIBRARY_PATH=/usr/local/weblogic/weblogic/lib/linux:/usr/local/weblog
ic/weblogic/lib/linux
Warning: native threads are not supported in this release
What does this mean?
Also I get the following messages:
Fri Apr 07 08:59:38 CEST 2000:<A> <Posix Performance Pack> Could not
initialize POSIX Performance Pack.
Fri Apr 07 08:59:38 CEST 2000:<E> <Performance Pack> Unable to load
performance pack, using Java I/O.
How much does this impact the performance? Is it better to use NT instead
of linux?
thanks,
Alex--
Ian R. Brandt
Software Engineer
Genomics Collaborative, Inc.
99 Erie Street
Cambridge, MA 02139
(617)661-2400 Ext.244
(617)661-8899 FAX
[email protected]

Similar Messages

  • Target node/queue unavailable for 12i Concurrent Managers on Redhat Linux

    Hi,
    I was able to sucessfully install Release 12 Vision on Redhat Linux.. Every thing is working fine but concurrent managers are not active except the Internal Manager. Rest of the Managers has no value in the node name field and the status is "Target node/queue unavailable".. I also ran adcmcmtl.sh to manually stop and start the managers but still facing the same issue..
    Please tell me what i'm missing..
    Thanks in Advance,
    Prasad

    Duplicate post ..
    Re: Not able to start the concurrent Managers in Release 12 on Redhat Linux 4
    I suggest we follow up on one post so we can get more input from others.

  • Performance question for date column

    Hi All,
    I have a select query which joins two tables with more than 20 million records each based on a where condition of year = 2006. Would creating an function based index on the date column help improve the performance. Please suggest any other alternatives. The query is supposed to return about 10 million records which is taking about 10 hrs right now. How can I improve the performance.
    Thanks

    Rob, Here is the explain plan. Any suggestions based on this information. Please refer me to any information on how to interpret this information. Thanks
    | Id  | Operation            |  Name                      | Rows  | Bytes |TempSpc| Cost  | Pstart| Pstop |
    |   0 | SELECT STATEMENT     |                            |   101K|    10M|       |   173K|       |       |
    |   1 |  HASH JOIN           |                            |   101K|    10M|  3088K|   173K|       |       |
    |   2 |   PARTITION RANGE ALL|                            |       |       |       |       |     1 |     9 |
    |   3 |    TABLE ACCESS FULL | Table A                    |   101K|  1888K|       | 87464 |     1 |     9 |
    |   4 |   PARTITION RANGE ALL|                            |       |       |       |       |     1 |     9 |
    |   5 |    TABLE ACCESS FULL | Table B                    |   156K|    13M|       | 85454 |     1 |     9 |

  • Installation Help for JRE v1.4 on Redhat Linux 7.3

    Hello everyone,
    I would like to install the Java Runtime Environment, and was hoping someone would please be able to give me a step by step guide.
    Thanks

    Hi,
    1 Download the j2sdk-1_4_0_01-linux-i586-rpm.bin file.
    2 If file on Redhat 7.3 system then "sh j2sdk-1_4_0_01-linux-i586-rpm.bin" in the bash to get j2sdk-1_4_0_01-fcs-linux-i386.rpm. (I am assuming this works since I did it the other way).
    3 If file on Windows system you can use winzip to extract it too j2sdk-1_4_0_01-fcs-linux-i386.rpm
    4 Place file on Redhat 7.3 system. Ensure that java is not already there with "rpm -aq | grep j2". If it is uninstall it with rpm -e <package name>.
    5 Install java with "rpm -i j2sdk-1_4_0_01-fcs-linux-i386.rpm"
    5 Check that java package is now on system with "rpm -aq | grep java2". You should get this "j2sdk-1.4.0_01-fcs"
    6 Java binaries are located in "/usr/java/j2sdk1.4.0_01/bin"
    7 Set a tempary path for the shell "export PATH=$PATH:/usr/java/j2sdk1.4.0_01/bin"
    8 Run "java" and you should get something back to show that the command did try to execute.
    I could not see anything on the Sun site that described these simple steps or somthing like it. Seems like an oversight by Sun that they are not there or they are too hard to find by users like myself.
    Thanks
    Tom

  • Pre-requisites for installing Oracle 10gR3 on RedHat Linux

    Hi All,
    I am installing oracle 10g Lite R3 on RH Linux AS3.0. I am trying to find out the pre-requisites for the installation. I do not find the certification matrix on metalink.
    Could someone please let me know where I can find this info?
    Thanks,
    Madhan

    http://download.oracle.com/docs/cd/B28928_01/doc/server.103/b28924/preinstall.htm#CBHGJHCF
    HTH

  • JRE for S390 IBM VM/z Redhat Linux ?

    Is there a JRE available for the IBM VM/zLinux ?
    If so where do i download?

    You may try http://www-1.ibm.com/servers/eserver/zseries/software/java/aboutj2.html

  • SAP R/3 4.7 EXt200 installation on RedHat Linux 5.2 with Oracle 10G

    Hi,
    I got this error during Database Instance Installation:
    All file system node operations of table tORA_SapdataNodes processed successfully.
    ERROR      2009-08-31 11:04:39 [iaxxinscbk.cpp:289]
               abortInstallation
    MDB-06020  File not found: [no oracle rdbms file found].
    I am done with CI Installation.
    Any help would be appreciated.

    Hi ,
         First of all please check availability of your OS + DB requiremnts whether it is supported by SAP or not.You can check this at Product Availability Matrix at ::
    http://service.sap.com/pam
         If this support for your environment i.e.RedHat Linux 5.2 with Oracle 10G then be informed that after starting sapinst in step create database it will prompt you for installing your oracle DB. So open a new window & install your databse ,do the patching of your DB & then continue with sapinst after successfull installation of oracle.Rest of details sapinst will prompot you during instal;lation.
        Hope this will guide you for your query.
    Thanks..
    Mohit

  • Registering Apache 1.3.4 with OAS 407 on RedHat Linux 5.2

    Hi,
    Has anybody tried or succeeded in registering Apache 1.3.4 with
    Oracle Application Server 4.0.7 running on RedHat Linux 5.2?
    We're having trouble registering Apache as an External Web
    Listener for OAS. Applying the correction for step #2 under
    registering Apache servers also hasn't given us any success in
    rebuilding Apache.
    Has anybody encountered the error message below when compiling
    the Apache 1.3.4 to work with OAS after updating the EXTRA_LIBS
    in Apache CONFIGURATION File with the value given on the
    documentation.
    The Error Message
    Using config file: Configuration
    Creating Makefile
    + configured for Linux platform
    + setting C compiler to gcc
    + setting C pre-processor to gcc -E
    + checking for system header files
    + adding selected modules
    + doing sanity check on compiler and options
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_log_error_old'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_palloc'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_internal_redirect'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `gMimeTypesFile'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_log_printf'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_setup_client_block'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_destroy_sub_req'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_get_basic_auth_pw'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_listeners'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_sub_req_lookup_file'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_pstrdup'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `gImplName'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_table_add'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_get_remote_host'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_signal'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_send_http_header'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ows_module'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_should_client_block'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_rwrite'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_table_set'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `ap_get_client_block'
    /home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
    `alias_module'
    make: *** [dummy] Error 1
    ** A test compilation with your Makefile configuration
    ** failed. This is most likely because your C compiler
    ** is not ANSI. Apache requires an ANSI C Compiler, such
    ** as gcc. The above error message from your compiler
    ** will also provide a clue.
    Aborting!
    Your comments or suggestions are most welcome.
    Thanks,
    --Edsel
    null

    Hi ,
         First of all please check availability of your OS + DB requiremnts whether it is supported by SAP or not.You can check this at Product Availability Matrix at ::
    http://service.sap.com/pam
         If this support for your environment i.e.RedHat Linux 5.2 with Oracle 10G then be informed that after starting sapinst in step create database it will prompt you for installing your oracle DB. So open a new window & install your databse ,do the patching of your DB & then continue with sapinst after successfull installation of oracle.Rest of details sapinst will prompot you during instal;lation.
        Hope this will guide you for your query.
    Thanks..
    Mohit

  • Questions for Berkeley DB gurus regarding performance

    Dear BDB Gurus,
    We are building an application that is about to store millions of pairs (hash/data). We are planning to use Berkeley DB as holder of the pairs hash/data and are planning to store thousands of millions of records.
    What would be the best file system on Linux for such large BDB?
    We would like to distribute the load. A machine will have multiple mount points (separate drives/LUNs) and we would like to get the highest parallelism possible. We believe that using multiple instances of BDB on each mount point would give us the best performance (we are dividing the content, or we could use the new feature from 4.8 - partitioning). Is this correct? Is there anything special we must be aware of, because preliminary results show that if we have more than ~100 BDB files (databases) per mount point the performance drops dramatically. On the other hand if we have smaller number of BDB files, that means each BDB will grow very big. What are the biggest size that we could grow the BDB files to (file size and number of records)? Our mount LUNs/drives are approximately 2TB in size. The average data size is between 4kB and 8kB (let's take 6kB for simplicity)while the hash is 160 bits (SHA-1). If we want to fill up the 2TB with records (each being 6kB) that would be about 333 million records. What would be the best way to store such large number of records?
    Should we preallocate the size of the BDB file or let it grow automatically?
    What is the maximum number of records that we could store in each BDB? The point is not to grow beyond reasonable number (file size and number of records).
    What can we do to make the reads and writes very fast - is there anything special that we could fine tune the performance (we already tried different page sizes)?
    The hash is SHA-1 and all the keys and database instances are evenly distributed due to the nature of the hashing.
    We create DB_Env structure for each mounted data disc. Here is an extract from the code:
    Create DB_ENV
    ret = db_env_create(&envp, 0);
    if (ret != 0) {
    ERR("StorageRoot: Error creating env handle: %s\n", db_strerror(ret));
    envp = NULL;
    return NULL;
    /* we can optimize this parameter in DB_CONFIG file */
    ret = envp->set_cachesize(envp, 0, _1M * 64, 0);
    if (ret != 0) {
    ERR("StorageRoot: DB->set_cachesize failed: %s.\n", db_strerror(ret));
    return NULL;
    /* we can optimize this parameter in DB_CONFIG file */
    ret = envp->mutex_set_max(envp, 100000);
    if (ret != 0) {
    ERR("StorageRoot: DB->mutex_set_max failed: %s.\n", db_strerror(ret));
    return NULL;
    envp->set_errpfx (envp, "store");
    envp->set_errcall (envp, bdb_err_callback);
    envp->set_msgcall (envp, bdb_msg_callback);
    envp->set_data_dir(envp, sr->path);
    /* Open the environment. */
    env_flags = DB_CREATE | DB_RECOVER | DB_INIT_TXN | DB_THREAD | DB_INIT_MPOOL;
    ret = envp->open(envp,
    env_home, /* env home directory */
    env_flags, /* Open flags */
    0); /* File mode (default) */
    if (ret != 0) {
    ERR("StorageRoot: Environment open failed: %s", db_strerror(ret));
    return NULL;
    Create DB
    /* Initialize the DB handle */
    ret = db_create(&dbp, envp, 0);
    if (ret != 0) {
    ERR("Store: store_open -- %s\n", db_strerror(ret));
    store_destroy(handle);
    return NULL;
    /* Point to the memory malloc'd by db_create() */
    handle->dbp = dbp;
    /* Set the open flags */
    open_flags = DB_CREATE | DB_THREAD; /* Allow database creation */
    /* Set the page size to 8K */
    dbp->set_pagesize(dbp, _8K);
    /* Now open the database */
    ret = dbp->open(dbp, /* Pointer to the database */
    NULL, /* Txn pointer */
    handle->db_name, /* File name */
    NULL, /* Logical db name */
    DB_HASH, /* Database type (using hash) */
    open_flags, /* Open flags */
    0); /* File mode. Using defaults */
    if (ret != 0) {
    dbp->err(dbp, ret, "Database '%s' open failed.", handle->db_name);
    ERR("Store: store_open -- Database '%s' open failed with code %d (%s).
    \n",
    handle->db_name, ret, db_strerror(ret));
    store_destroy(handle);
    return NULL;
    Your help is greatly appreciated. Thanks in advance.
    Alex

    Hi Alex,
    We are building an application that is about to store millions of pairs (hash/data). We are planning to use Berkeley DB as holder of the pairs hash/data and are planning to store thousands of millions of records.
    What would be the best file system on Linux for such large BDB?On Linux you should use the ext3 file system. Please make sure that you use the default level of journaling when mounting the file system, that is, the ordered data mode:
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/build_unix_linux.html]
    [http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html]
    We would like to distribute the load. A machine will have multiple mount points (separate drives/LUNs) and we would like to get the highest parallelism possible. We believe that using multiple instances of BDB on each mount point would give us the best performance (we are dividing the content, or we could use the new feature from 4.8 - partitioning). Is this correct? Correct. This will help improve disk I/O.
    Is there anything special we must be aware of, because preliminary results show that if we have more than ~100 BDB files (databases) per mount point the performance drops dramatically. On the other hand if we have smaller number of BDB files, that means each BDB will grow very big. What are the biggest size that we could grow the BDB files to (file size and number of records)? Our mount LUNs/drives are approximately 2TB in size.Please review the following for details on limitations on the database size and number of records that can be stored:
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_misc_dbsizes.html]
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_misc_diskspace.html]
    The average data size is between 4kB and 8kB (let's take 6kB for simplicity)while the hash is 160 bits (SHA-1). If we want to fill up the 2TB with records (each being 6kB) that would be about 333 million records. What would be the best way to store such large number of records?
    Should we preallocate the size of the BDB file or let it grow automatically?
    If you have access to My Oracle Support (ex Metalink) you can look into two interesting KM articles I wrote a while ago: Note 463507.1 and Note 463613.1.
    Tuning the hash configuration values (page fill factor, database hash function, hash table size) is only useful if it doesn't dramatically alter the caching behavior of your application (i.e. it doesn't require that you always run in the cache).
    Also, pre-sorting the keys will likely boost insert performance. If you know in advance the approximate number of elements that will be stored in the hash database (specified via DB->set_h_nelem ) and the estimated number of elements per page (specified via DB->set_h_ffactor), then you can estimate the number of buckets that will reside in the hash table. The number of buckets is determined using the formula:
    no_of_keys / no_of_items_per_page
    and the hash fill factor is determined using the formula:
    *(pagesize - 32) / (average_key_size + average_data_size + 8)*
    The no_of_items_per_page can be calculated based on the average record size and the useful-bytes-per-page. See the Hash specific formulas here: [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_misc_diskspace.html]
    To pre-sort the keys the appropriate hash function on each of those keys needs to be called (your own hash function set via DB->set_h_hash, or the default hash function __ham_func5, in BDB_SOURCE_TREE/hash/hash_func.c) and then take the result modulo no_of_buckets (the estimated number of buckets). Thus, a hash bucket where the key will be stored is identified. Sorting the keys this way should result in best-case insertion. If the initial number of elements in the hash table is not specified, then the hash table will grow dynamically and, although the items are sorted, a slowdown may be observed, due to frequent rehashing.
    What is the maximum number of records that we could store in each BDB? The point is not to grow beyond reasonable number (file size and number of records).See the links on database size limits and disk space requirements.
    What can we do to make the reads and writes very fast - is there anything special that we could fine tune the performance (we already tried different page sizes)?See the suggestions from the [Berkeley DB Programmer's Reference Guide|http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/index.html] on tuning:
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_misc_tune.html]
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/transapp_tune.html]
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/transapp_throughput.html]
    Regards,
    Andrei

  • Please answer a programming question for an admin

    I'm not a programmer (although my interest is growing), so I can't answer this question in a discussion regarding how Win32API w/OLE and COM is SO much better than programming for Unix/OS X applications.
    The original discussion was in regards to OS X's superior Unix based security, he devolved to this. Having only begun my venture into programming, his questions are a little above my head at this point. I'm also interested (as an amature programmer), how this would be accomplished in OS X/Unix.
    Thanks in advance.
    Here's his position:
    *(1st entry)*
    I have unsed Windows and many flavors of Unix and I have written programs in Assembler, Fortran, Pascal, Cobol, RPG, Smalltak, Basic, PowerBuilder, Delphi, C, C++, C#, Java, and Perl, and I have been programming for over 20 years, so I do have extensive knowledge about programming.
    So I have one question for you:
    If you had to build a business application that has to allow users to, spell and grammer check, and perform financial calculations, and render the HTML, how would you compare the effort to do this in Windows versus that in Linux, AIX, Solaris or any other Unix operating system?
    I can make this business application have these features in ONE DAY on Windows, because COM and OLE lets me, use Word to spell and grammer check, Excel to do the financial calculations, and IE to render the HTML!
    I make my living building complex customized business software, and Windows allow me to build these applications by myself in weeks, when it would take me and a team of programmers months to do these same things in Unix because of the lack of an the Win32 API, COM, and OLE, or I would have to BUY third party libraries that did these things, and deal with the licensing, versioning, and vendor problems that go with them, and none of those third party librabries would be close to Word, Excel, and IE in CAPABILITY!
    HONESTLY tell me and others reading this thread how you would go about create the customized business application I described above by yourself in a Unix instead of Windows, and tell us how many MONTHS or YEARS it would take you, or how you would have to BUY some other third party libraries to do what Word, Excel, and IE!
    Anyone who thinks a Unix has more CAPABILITIES than Windows, has never used Win32API/COM/OLE/.Net, and does not build customized complex business software for a living, because we people that do are the reason that you find some much customized business desktop software for Windows, and so little for any Unix.
    I have nothing against Unix, and it is great for simple business tasked server software, but for complex business tasked desktop software Windows with Win32API/COM/OLE/.Net wins hands down!
    *(2nd Entry)*
    A System administrators view of an operating system and an application developers view are entirely different, and the Win32API/COM/OLE/.NET simply make my job so much easier, and you simply don't understand because you do not have to deal with the "dirty' details of making what a user wants, which is why your definition of "integration" and mines are totally different!
    With the spell check you talked about, how will you keep in in synch with the dictionary in Word where the user is constantly adding and removing words?
    No, you would have the user to have to maintain two different spell check dictionaries, and you would totally ignore the grammer check requirement!
    Cutting and pasting data between applications is simple integration, and not the complex type that I am talking about.
    Can you make your application display and use the MacGourmet menus appear in its own window, and to access and use the MacGourmet functionality (ie. search for a recipe) in its own window?
    Give me one example of a Unix application that can display the menus of another application, yet alone control its features!
    Of course you can't, because you need COM and OLE!
    I am quite familiar with different flavors of Unix, but those operating systems do not have the rich API and program integration features namely COM and OLE that Windows has, because it violates the Unix idea of security by process isolation!
    Yes that idea of process isolation keeps the operating system safe from malicious code in applications and from one application taking the others down, but you lose the power of programs working together, and you simply cannot build the type of customized business applications that I build by myself, without reinventing the wheel over and over and without having a large team with lots of programmers.
    For example, my customers and millions of others spend all day working in Word and Excel, and the Windows idea that I can transparently integrate my complex business applications right in Word and Excel menu, and into their templates and macros, is why third party developers like me prefer Windows over Unix, regardless of how much better security in Unix is.
    Do not get me wrong, Java improves business application development on Unix, but unfortuantely it is not feasable to rewrite ever legacy application in Java, and Java does not integrate well with other programming languages.
    I used to code business application for both IBM MVS and Sun Solaris, and I never want to go back to those "bad" old days again, once I took the time to learn how to PROPERLY code using Win32API/COM/OLE/.NET!

    At risk of feeding the troll I'll wander in here:
    NOTE: Since this is an Apple programming boards and I have limited experience programming on traditional Unix systems (and most of that in college) I will confine my answers to the area I know.
    If you had to build a business application that has to allow users to, spell and grammer check, and perform financial calculations, and render the HTML, how would you compare the effort to do this in Windows versus that in Linux, AIX, Solaris or any other Unix operating system?
    I can make this business application have these features in ONE DAY on Windows, because COM and OLE lets me, use Word to spell and grammer check, Excel to do the financial calculations, and IE to render the HTML!
    Note that this scenario assumes the user has Microsoft office installed. The person argues that they don't have to purchase libraries to program but what they are effectively doing is simply transferring that cost to user. I don't have to purchase libraries but everyone of my users needs to. Good for you, very good for Microsoft but bad for your customer - IMHO. OK, I know "But all Windows business users have Office installed already." When it comes free with the system then I'll retract my objection.
    Under OS X and Cocoa many of these functions are intrinsic to the system layer and do not require any applications to be installed. Using Cocoa you can write a simple Word processor that has rulers, full font manipulation (including kerning, spacing and leading), Document Save and Load, Printing, Export to PDF as well as spell-checking in under 10 lines of actual code. Adding a custom file type and icon for full system integration will add another 5 minutes to your programing.
    In case you think I'm blowing smoke here is a tutorial from 2002 (yes, this has been possible for over 5 years) outlining the 8 line Word Processor build in Cocoa. http://www.stone.com/TheCocoa_Files/What_s_sofunny.html
    And yes, Cocoa also includes Webkit so I can add full HTML rendering by dragging in a WebKit window to my user interface. For an experienced Cocoa programmer this certainly sounds like less than a day of programming - in fact it sounds like a good tutorial for a middle-experienced training day or 2 day class in Cocoa.
    I won't include the link to the 1 line web browser you can build in Cocoa using Webkit because it's shorter than the description. Feel free to search for it if you want to.
    HONESTLY tell me and others reading this thread how you would go about create the customized business application I described above by yourself in a Unix instead of Windows, and tell us how many MONTHS or YEARS it would take you, or how you would have to BUY some other third party libraries to do what Word, Excel, and IE!
    BUT this is all done from the stock system that is on every OS X computer not simply those with Office installed. Obviously you'd need to add some features that were more complicated than this - because any halfway decent programmer could turn this stuff out - and polish takes a while but to meet the requirements of the challenge it would take 2 days tops.
    Is every *nix programming environment like this? I don't know I can only answer for the system that I have experience with and is the concern of this board. If you really have questions regarding *nix programming then I suggest you find an appropriate board and troll^H^H^H^H^H ask there.
    If you're ever serious about programming on the Mac feel free to stop by and actually take a look at it. I think you'll be surprised.
    =Tod

  • Insert, search, delete performance overhead for different collections

    Hi,
    I am trying to create a table which compares performance overheads for different collections data structures. Does anyone want to help me out? I want to put a number from 1 - 9 in each of the question marks. 1 being very poor performance and 9 being very good performance (the reason I am doing this is that I had this question in a job interview test and I didn't pass it)
    anyone have any comments?
              Searching     Inserting     Deleting     
    ArrayList ? ? ?
    LinkedList ? ? ?
    TreeSet ? ? ?
    TreeMap ? ? ?
    HashMap ? ? ?
    HashSet ? ? ?
    Stack ? ? ?

    sorry the formatting has screwed up a bit when I posted it. It should have a list of the collection types and three columns (inserting, deleting, searching)

  • Simple performance question

    Simple performance question. the simplest way possible, assume
    I have a int[][][][][] matrix, and a boolean add. The array is several dimensions long.
    When add is true, I must add a constant value to each element in the array.
    When add is false, I must subtract a constant value to each element in the array.
    Assume this is very hot code, i.e. it is called very often. How expensive is the condition checking? I present the two scenarios.
    private void process(){
    for (int i=0;i<dimension1;i++)
    for (int ii=0;ii<dimension1;ii++)
      for (int iii=0;iii<dimension1;iii++)
        for (int iiii=0;iiii<dimension1;iiii++)
             if (add)
             matrix[i][ii][iii][...]  += constant;
             else
             matrix[i][ii][iii][...]  -= constant;
    private void process(){
      if (add)
    for (int i=0;i<dimension1;i++)
    for (int ii=0;ii<dimension1;ii++)
      for (int iii=0;iii<dimension1;iii++)
        for (int iiii=0;iiii<dimension1;iiii++)
             matrix[i][ii][iii][...]  += constant;
    else
    for (int i=0;i<dimension1;i++)
    for (int ii=0;ii<dimension1;ii++)
      for (int iii=0;iii<dimension1;iii++)
        for (int iiii=0;iiii<dimension1;iiii++)
           matrix[i][ii][iii][...]  -= constant;
    }Is the second scenario worth a significant performance boost? Without understanding how the compilers generates executable code, it seems that in the first case, n^d conditions are checked, whereas in the second, only 1. It is however, less elegant, but I am willing to do it for a significant improvement.

    erjoalgo wrote:
    I guess my real question is, will the compiler optimize the condition check out when it realizes the boolean value will not change through these iterations, and if it does not, is it worth doing that micro optimization?Almost certainly not; the main reason being that
    matrix[i][ii][iii][...]  +/-= constantis liable to take many times longer than the condition check, and you can't avoid it. That said, Mel's suggestion is probably the best.
    but I will follow amickr advice and not worry about it.Good idea. Saves you getting flamed with all the quotes about premature optimization.
    Winston

  • Performance management for appraisal document Targets defaulting...

    Hi,
       My question is about custom badi implementation in Performance management for appraisal document Targets defaulting...
    Brief:
    ====
    At the creation of the personal appraisal, the column containing the performance targets of the employee is pre filled with the targets defined in the previous appraisal cycle and contained in the previous year employee appraisal form or in the target settings document.
    Solution:
          1   Please give me the soultion which badi i can use?
             and How to achieve to do this thru coding step by step?
          2. And Can you please share any other synario defaulting   developed previously.If u share these documents or coding .. It should be fine...
    Help me to do fastly ..
    waiting for asap response..
    Thanks and Regards
    Mohan.P

    Hi Chris,
    This component must be deployed in Portal because have a lot of services which need ESS in order to work properly. According with note 1408243 you must add those business components in your iView and only are available in that component. Once you deploy this component you do not need to assign any special role to users. The business object component is in Content Administration --> Portal Content --> Business Object --> ERP Common Parts --> Human Resources --> Employee.
    Follow this link:
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/HOWTOGETRIDOFSPSTACKMISMATCHISSUES
    And get rid of mismatch issues!!!!
    Regards.
    David Cortés
    Edited by: David Cortes on Apr 22, 2010 11:53 PM

  • Performance question on looping thrue blocks and items (forms 10.1.2.3)

    Hi all,
    I'm back again in Forms forum : ) !!! and I'm working on a new and very interesting project
    version used : Forms [32 bits] Version 10.1.2.3.0 (Production)
    A little question for gurus :
    On former projects I used to call loops on blocks and item like shown below to do various things such as displaying buttons or showing canvas or different VA depending on the user or scenarios .
    PROCEDURE FRM_BLK_ITM_LOOP IS
    v_curblk varchar2(90); -- bloc courant
    v_curitm varchar2(90); -- item courant
    BEGIN
      v_curblk := get_form_property(:SYSTEM.CURRENT_FORM,first_block); -- on récupère le 1er block de la form
      LOOP
      v_curitm := v_curblk||'.'||get_block_property(v_curblk,first_item); -- on récupère le 1er item du block
        WHILE v_curitm != v_curblk||'.'||get_block_property(v_curblk,last_item)
         LOOP -- tant que l'item n'est pas le dernier du block on loop
            v_curitm :=  v_curblk||'.'||get_item_property(v_curitm,nextitem); -- on récupère l item suivant
            if get_item_property(v_curitm,<some property>) = 'TRUE' then
              --- I can do something.... or adding more conditions if then etc...
            end if;
        END LOOP;
      EXIT WHEN v_curblk = get_form_property(:SYSTEM.CURRENT_FORM,last_block); -- on sort losrqu on arrive au dernier block
      v_curblk := get_block_property(v_curblk, nextblock); -- on passe au block suivant
      END LOOP;
    END;In my current project we work on quite huge forms which can have a consequent number of blocks and items.
    And we must be very careful regarding performance issues as these forms are accessed via LAN and WAN.
    So my question :
    This method seems to be quite efficient as it goes thrue blocks and items sequences as they are defined in the builder comparing to go_block -> go_item ->do_something which can easily turn into nightmare-programming.
    But I don't really know about network roundtrips with this kind of method.
    Is everything done in the app server and then fetched to the client?
    What triggers block-level and item-level can be fired during the execution of the loop ? and so one...
    Thanks in advance for your advices on this matter.
    Jean-Yves

    Hmmm, I have to say I never bothered if Forms is in Socket mode or not; I enabled the network statistics, counted the roundtrips and looked for ways to get them lower (my old friend wireshark did also a good job regarding this) ;). But regarding the note Forms 6i uses Socket Connections by default, this might apply to 10g too (or the enhancement request was approved, who knows).
    Frankly I am not entirely sure what Socket Mode means; I guess it's the mode the forms applet talks to the forms runtime; wheter it's stateful (via Sockets) or stateless (via HTTP / HTTPS) but this is just a wild guess, and I can't find informations on it quickly. I also enabled networkStats on my Developer Suite only, so I cannot tell if you can enable them on a full-fledged Application Server.
    Anyway; as said I just counted the roundtrips and looked where I can avoid them when I made our application ready for WAN.
    Another useful tool was Shunra VE Desktop which I used to simulate low bandwith networks with high latencys; I installed it on a virtual XP, started the application and tested how the Application performs. If something looked odd, I looked behind the scenes, built a little testform basing on the code behind and tried out various things; very often you can take advantage of the event bundling forms seems to make when you use several set_xyz calls as Francois also noted; e.g.
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    set_custom_property('bean_item', 1, 'PROPERTY', prop);
    vRet := get_custom_property('bean_item', 1, 'PROPERTY);most certainly will cause just 1 roundtrip; but if you use get_custom_property in the middle of the set_custom_property calls you will encounter 2 roundtrips as forms needs to synchronize (you get a value from the bean so the forms runtime needs a response) with the forms applet whereas set_custom_property is a one-way-street which can be fired off simultaneous. The same applies to fbean.invoke and fbean.invoke_bool, fbean.invoke_char and the like. Of course if you are using more then one get_custom_property in this case the roundtrips will increase accordingly.
    If you want to make use of event bundling make sure you fire off as much set_xyz as you can before forcing forms to synchronize (e.g. with get_xyz, or synchronize, create_timer,...)
    cheers

  • AIR and performance questions

    Hey,
    I'm new to AIR mobile development although i have around a decades experience with Flash, but with AIR for mobile i'm a bit lost. So i was hoping someone can answer these questions for me...
    1. Is there currently no way to use a phones vibration with AIR? I remember seeing people asking this on these forums last year, and it still looks as if this extremely simple thing cannot be done? And if it cant, are there plans to have it in AIR 2.7?
    2. When i select GPU acceleration, does it cache all bitmaps automatically? Or do i still have to manually select "Cache as Bitmap" for everything i want cached? (i'm using Flash Pro CS5.5). Because it seems to have no effect on frame rates whatever i do here as long as GPU render mode is selected.
    3. Would i get better performance using vectors or bitmaps for graphics?
    4. Whats the texture size limit for Android and iOS before it can no longer be cached?
    5. Does it matter performance wise if JPG's and PNG's are used for graphics instead of bitmaps? (when i've not selected Cache as Bitmap).
    6. Whats the differences between a AIR for Android and AIR for iOS? I've noticed that for Android it supports use of the camera, for iOS it dont. Is there anything else?
    7. How can i embed a HD video in an AIR for Android app? i've seen this thread: http://forums.adobe.com/thread/849395?tstart=0
    but it's for AIR on iOS, i wouldn't think it's any different for Android, but i'm getting a blank screen when i use the code from that thread (and i'm testing on a Android phone too, not in Flash > Test Movie).
    Or if anyone has ANY tips for performance at all then i'd love to hear them

    Hello,
    I think that Colin may have answered a lot of your questions but here it is:
    1. There is currently no way to make the phone vibrate for within AIR. You can read this post on how to create an Android/AIR hybrid application which gives you extension access to some native functionality. Warning: it is somewhat advanced and not supported by Adobe
    http://www.jamesward.com/2011/05/11/extending-air-for-android/?replytocom=163323
    You can expect to have this functionality in AIR at some point in the future, perhaps not in 2.7
    2. in AIR for Android, there is no need to set GPU if you are only using bitmaps. Cache As Bitmap is only needed for vector art.
    3. Bitmaps would be better but performance is not the only consideration. Remember that memory is limited so bitmaps can use it all so vectors may be a good option if you have a lot of art. A great advantage of using AIR is that you have the option between the two. My recommendation would be that if your art is going to be animated, create it as bitmap or use cacheAsBitmap if it only moves on x and y axis and use CacheAsBitmapMatrix if it transforms in other way (rotation, size).
    4. The limit on Android was 1,024×1,024 last time I checked.
    5. JPGs are smaller in size but PNGs look better. A side note, because the PPI is so high on devices, everything looks great so you can get away with lesser quality assets. Test all options.
    6. The differences between the two platforms are minimal. Camera first but also Android lets you access the media library (where all the images taken by the device are stored) where iOS do not. In general Android is more open.
    7. Video is a very large topic. If you embed the video, you will have a black screen until it is fully loaded. I should say that I did a project with a 1 GB movie and it loaded right away. I have not used the StageWebView to display the movie. Keep in mind that the way the video is endoced matters a great deal (use baseline profile).
    Here is some sample code:
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.media.Video;
    import flash.events.NetStatusEvent;
    var connection:NetConnection;
    var video:Video;
    video = new Video();
    video.width = 480;
    video.height = 320;
    connection = new NetConnection();
    connection.addEventListener(NetStatusEvent.NET_STATUS, netConnectionEvent);
    connection.connect(null);
    function netConnectionEvent(event:NetStatusEvent):void {
    event.target.removeEventListener(NetStatusEvent.NET_STATUS,
    netConnectionEvent);
    if (event.info.code == "NetConnection.Connect.Success") {
    var stream:NetStream = new NetStream(connection);
    stream.addEventListener(NetStatusEvent.NET_STATUS, netStreamEvent);
    var client:Object = new Object();
    client.onMetaData = onMetaData;
    stream.client = client;
    // attach the stream to the video to display
    video.attachNetStream(stream);
    stream.play("someVideo.flv");
    addChild(video);
    function onMetaData(info:Object):void {}
    I would recommend looking at my book. I cover a lot of these topics in detail (and went through the same hurdles as you):
    http://oreilly.com/catalog/0636920013884
    (you can get it on Amazon too).

Maybe you are looking for

  • Droid razr froze! Help

    Droid Razr froze and will not respond to anything.  Pressed power button no results.  Pressed volume keys with no results. Help!

  • Update was terminated-order creation

    Hello all I am unable to create an order as the message "update was terminated" is displayed while saving the order.Can any one please tell me what could be the reason. Thanks in Advance Surya

  • How to control the permission for reports in share folder?

    Hi Experts, In OBIEE 11.1.1.6.0. I have created two folders in share folder,one is sales folder which contains some sales reports,and the other is dashboard folder which contains some dashboard pages that have these sales reports. So I want to new us

  • Boot Camp Help

    Ok, so I am trying to install boot camp on my mac. I partitioned it, and I inserted my Max OS X Install disc 1, and click start installation. The Installer Disc Could Not Be Found. Insert your Windows installer disc and wait a few seconds for the dis

  • My iMac is not reading photo dvds

    Hi: I am relatively new to Apple so, forgive me if this an obvious question. I have several photo cds and dvds from various sources that are not being read by the iMac. When the disc is loaded into the iMac, I receive a message that I have inserted a