Setting the shared memory size linux

Hello
I'm a bit confused on the parameters of the kernel, can you please share your views on this one please.
Shared for the tt in the linux kernel memory is calculated as follows:
Shared mem = perm size size temp + journal + fresh size generals 7 MB

but when I look at the linux sysctl.conf, I saw that there is a great value for sharing memory setting (default) as ~ 68 GB, then I think that I should not override/decrease this value. What is your opinion? Setting the value default (68 GB) helps my DB behave badly? Or by assigning the value calculated as in the equation makes them much faster?

# Control the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
kernel.SEM = 250 32000 100 100

# Control the maximum number of shared memory pages segments
kernel.shmall = 4294967296

Thank you very much.

The shmmax kernel parameter simply sets a limit on the maximum size of a shared memory segment individual. It has no direct effect on performance. In general, it should be set large enough to allow the largest shared memory segment you need to create but smaller then the amount of physical memory in the machine. Shmall parameter sets a limit of large system on the total amount of shared memory (all active segments added) can be allocated. It must be also, in General, lower then the [physical memory on the computer.

If one is defined on more memory in the machine is not an immediate problem. However, in this case, it is possible to create shared memory that is larger than the physical memory of the system (as far as adequate swap space is configured), and if this happens then the overall performance of the system will be affected, probably seriously.

Thus, work on what you need and set accordingly.

Chris

Tags: Database

Similar Questions

  • Change the shared memory size of the integrated graph

    Hello world

    I just updated my X 200 with 4 GB of RAM and noticed that the integrated graphics card Intel grabs a set of GB, which I think is too much.

    Is it possible to tell how much memory, it allowed to use the integrated graphics card?

    Thanks in advance.

    No, it isn't. RAM allocation, not the user management system.

  • The current size of the shared memory

    Hi friends,

    How can I get the current size of the shared memory?

    Thank you and best regards,
    Rajat
      1* select sum(value) from v$sga
    SQL> /
    
    SUM(VALUE)
    ----------
    1553305600
    
  • 836: failed to create the shared memory data, error 22 store segment

    Hi, I am new to timesten and databases in general, and I'm testing the database timesten to test.

    I am running ubuntu linux in virtualbox and have java 6 is installed. So far, I installed the timesten database and configured the sys.odbc.ini to create a new database. However, it seems that I can't connect to a database.

    I connect with the orattadmin of the user (which belongs to groups both timesten and ttadmin)

    I run the commandes./ttenv.sh and I have the classpath for ttjdbc6.jar in it.
    then I run le./ttisql.sh, and when I try to connect to mydatabase or any other database present in the sample folder I get:

    $. / ttisql

    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type? or 'aid' help, type "exit" to leave the ttIsql.


    Command > Connect "dsn = mytest_ttdb";
    836: failed to create the shared memory data, error 22 store segment
    The command failed.

    what I am doing wrong? What can I do?

    Thanks for your time

    A data store active TimesTen consists of a single shared memory segment allocated from o/s. The size of this segment is PermSize + TempSize + LogBufMB + ~ 20 MB. This allowance will not allow the o/s unless the 'package' kernel parameter has a value greater than the requested size of the segment. According to the Guide of Installation TimesTen, you set various parameters of the kernel on the appropriate values (memory shared, semaphores, etc.).

    Chris

  • Change the shared memory in the Bios for the graphics - Satellite C660 217

    There is no setting in the BIOS that I can find.

    BIOS is up to date

    Hello

    It is not possible.

    Shared memory is assigned automatically and this is controlled by the graphics driver.
    But the shared memory is only used if the applications (IE game) would require more graphics RAM.

  • TimesTen does not release the shared memory even after DB destroy

    Hello

    After that TimesTen DB is destroyed, the shared memory allocated to the DB is not to be released by the system.
    We use TimesTen release 11.2.1.7.0 (64-bit, Linux/x86_64)

    We need to restart the system for shared memory usage (outdated) by clearing TimesTen.

    Please let me know what is the problem here.

    Concerning
    Pratheej

    Hi Pratheej,

    How are actually destroy you TimesTen? are you using ttDestroy? It seems that you may force a shutdown of the master demon TT? In which case the current connections will not aware the master demon went so far that they try then access TT until they can keep the memory shared memory segment.

    Take a look at ttStatus to see which links are open. Unplug them all by default that TT will come out then memory, you can use ttDestroy.

    Tim

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How can I set the default font size and type for the outgoing Hotmail mail?

    How can I set the default font size and type for the outgoing Hotmail mail?

    Hi Dale,

    What is the email client do you use?

    Outlook can be configured per - start Outlook-> Tools-> Options-> mail-> fixed Format and fonts... Select the font and size you need... Click ok on all screens.

    I hope this helps.

  • Satellite Pro C660 - 21 d - how to change the shared memory graphic value?

    My dxdiag screen says I have almost 1700 MB of video memory, but when I try to use this memory on games these games can use 256 MB...

    I tried to change settings in the BIOS, but it does not have this setting, do not know what else could cause this problem?

    Hello

    This could be confusing, but this isn't a problem.
    Shared memory is controlled by the graphics driver and the driver affects the part of the main memory to the memory of the graphics card ONLY if its required by a running application.

    The Dxdiag shows you how much RAM could be shared and value of memory in the quizzes you shared memory which is used and who is in the game right now.

  • Workload of Orion - failed to create the shared memory

    I am struck after publication using Orion:

    . / orion - run oltp

    ORION: ORacle IO numbers - Version 12.2.0.0.0

    Unable to create a shared memory (orion_setup_shmem:skgmcreate)

    Additional information: 6000

    Additional information: 1

    orion_parse_args: orion_setup_shmem failed

    I use RDBMS_MAIN_LINUX label for the use of orion.

    I noticed a similar question, but that was the 11 series Oracle.

    Can someone please provide an idea on how to solve it? TIA!

    I thought about it (thanks to Sebastian for her, rather). It has nothing to do with the version of Orion.

    I have checked/proc/meminfo and found that HugePage = 0.

    Set it to something (say 100) of the root user: echo 100 >/proc/sys/vm/nr_hugepages and fix it!

  • How do I set the screen window size in a guest LinuxMint17 (WS7)?

    I am always on WorkStation 7 (last revision) because I discovered that after installing the update I bought I would be able to use 7 and I need that for some of my virtual machines...

    Anyway, now I need to test some features of Web server and need a KDE LinuxMint17 machine for this.

    Installation went well and I also installed the virtual machine; Tools of dishes without problem.

    As part of the installation, I put the size of the screen for the guest to 1024 x 768 in the properties of the VM.

    Then I could install the basic software that I need the terminal of the virtual machine.

    But it turns out that this screen is too small for the webbrowser, I need to run inside the guest, so I stopped and then replaced by the properties of the vm to display 1280 x 1024.

    The strange thing is that the guest does not adjust when I start again, it always appears in the size 1024 x 768.

    So I'm looking for help set the size of the screen correctly in the comments of LinuxMint17...

    Is it possible to make the largest screen in Linux?

    I looked at the System_Settings/Display_And_Monitor inside the guest, but I do not get a way to resize it.

    Or maybe there is way to allow resizing screen in VMWare Workstation settings for the prompt instead?

    Note that I have running in a window rather than the full screen because I use it as a test machine for stuff that happens in Windows...

    I tried Googling for Linux screen size settings but came empty-handed, suggestions addressed the other issues...

    I do not use Linux Mint but on other Linux Distros, I use the xrandr from a Terminal command to set the resolution of the screen when it is not available from the GUI.

    Execution of xrandr by itself will be out the available resolutions then, for example, use: xrandr-s 1024 x 768

  • Satellite A660/07R - change the shared memory

    I have an A660/07R y at - there a way to change the system memory that is shared on this subject, he has a card geforce 350 m 3d mink?

    Hey Buddy,

    Shared memory quantity can't be changed because it will be controlled automatically.

    But I m wondering why you ask for this as far as I know the Satellite A660 with nVidia GT350M card has own graphic memory (1 GB). This memory will be the only graphics card.

  • Keep all the same memory size?

    I think adding memory to my end of 2014 iMac 27, obtaining 32g, get 4 8 gig glue.

    Comes with 2 4 gig,

    Thank you.

    When I increased the memory in my iMac, I got the RAM (3rd part) of the same size.

    Click on the 'Upgrade memory Instructions' which is located bottom left of the window of memory for detailed information on your iMac model.  See the photo above.

  • How to create the shared library for linux real-time target in labVIEW Windows?

    I use myRIO running linux in real time. In my project, I need to pack some C code, so I tried the node library function call.

    I know that I should use the tools compile cross - compile linux on Eclipse to compile c code in linux .so library. But the problem is that call library function node does not recognize the .so file because my labVIEW runs on a Windows PC.

    What should I do to fix and how to combine C code with labVIEW during programming for devices shipped as myRIO?

    Basically, you must also create a Windows DLL that exports the same functions. These functions can be empty stubs if you do not want to run the code correctly on Windows, otherwise you will need to consider how to implement the equivalent functionality on the Windows API.

    Then you can write in your node library call as the name of the library ". "*" and the name of the shared library Windows ".dll" while the Linux version is called "name of your library > .so". LabVIEW will replace the * after the comma in the name of library with everything that is the preferred extension shared library for the platform it is running on and therefore load the right shared library.

    Alternatively you can wrap call all the nodes of the library in a structure that contains the node library in the case of Linux RT and all what you want to run on other platforms in the case of default or a case of specific platform, call the conditional compilation.

  • Premiere Pro, After Effects CS5 and the shared memory pool

    This feature works fine in Win 7 x 64. I think adding more RAM and going up to 12 GB. However, I noticed that CS5 sharing memory pool is limited to 75% of the physical RAM installed. Even if that makes sense, if you have a computer with the minimum requirements of 4 GB (because Windows itself will use a little less 1 GB + /), it makes less sense to 12 GB, where 9 GB is all you can use for the pool of CS5.

    Is this the way it works, or is it possible that I can be 'greedy' and go the number of 75% for larger amounts of physical RAM? It helps to have as physical RAM as much as possible for AE previews high resolution, etc..

    It is by design.

Maybe you are looking for

  • How can satellite A60 (PSA60E-09T060FR) - I reset the BIOS?

    Hello I update my BIOS and * 3 long beep of the caplock remains allumme as f10 and f11 LED *.Apparently, it often happens after this procedure, thank you for giving me the procedure to reset3 except that it's 3 beeps and no sign to see my life death

  • If I fell for a scam?

    I had some problems with my computer (Windows XP) and MS Office, when he said 'send report' when Windows displays the message screen when a program closes unexpectedly. The Microsoft Help window seems to give me options for a solution to one of them

  • Rocket of freezing to rebuild the database after the firmware update

    Hello I used a Sansa Fuze since May this year, and so far I'm happy with it. If it were not for the updates of the firmware works do not somehow. I don't know what I'm doing wrong, but every time after you have installed the firmware newest, the play

  • icon at the top office recycling bin doesn't show not empty after empty

    original title: recycling bin icon on desk top Why, after having emptied my recycling bin, it does not show as empty on the desktop icon?

  • How to simulate GPS on blackberry tablet.

    How to simulate GPS on blackberry tablet. I have seen this thread but does not have the relevant information. Kindly let me know setp by the set procedure.