Large pages for SHM

Hello,
can you help me with this: I want to create a SHM region that uses 4mb large pages. If possible, I want the OS to choose the virtual address to place the SHM segment. However, I've read that it has to be aligned on 4mb boundaries.
The code to create the SHM segment looks like this:
id = shmget(13235, 16*1024*1024, IPC_CREAT | 0666);
shm = shmat(id, (void *)0, 0);How would I advise the OS to use 4mb pages for this segment?
Thanks,
Nick.

Hi,
in the meantime I tried to code something. It turned out that in my little test program the address returned by shmat is aligned to 4mb boundaries by accident... Therefore I just tried to make the pages 4mb large, but it didn't work: memcntl returned with errno == EINVAL, and I don't know why.
This is my code:
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/mman.h>
#define MEGABYTE ((size_t)(1024 * 1024))
#define FOUR_MEGABYTE ((size_t)4 * MEGABYTE)
int main() {
  int id;
  char *shm;
  char c;
  int i;
  struct memcntl_mha mha;
  fprintf(stderr,"memcntl error codes\n");
  fprintf(stderr,"EINVAL : %d\n",EINVAL);
  mha.mha_cmd = MHA_MAPSIZE_VA;
  mha.mha_flags = 0;
  mha.mha_pagesize = FOUR_MEGABYTE;
  if ((id = shmget(13235, 16*1024*1024, IPC_CREAT | 0666)) == -1) {
    fprintf(stderr, "shmget: shmget failed\n");
    return(1);
  } else {
    fprintf(stderr, "shmget successful: shmget returned %d\n", id);
  if((shm = shmat(id, (void *)0, 0)) == (char *)-1) {
    fprintf(stderr, "shmat: shmat failed\n");
    return(1);
  } else {
    fprintf(stderr, "shmat successful: %u\n",shm);
  if ((((uintptr_t)(shm)) & ((uintptr_t)(FOUR_MEGABYTE) - 1)) == 0) {
    fprintf(stderr, "address %u is aligned\n",shm);
  } else {
    fprintf(stderr, "address %u is NOT aligned\n",shm);
  if (memcntl(shm, 16*1024*1024, MC_HAT_ADVISE, (char *)&mha, 0, 0) < 0) {
    fprintf(stderr, "memcntl failed: %d\n",errno);
  } else {
    fprintf(stderr, "memcntl succeeded\n");
  for (i=0; i<16*1024; i++) shm[i*1024] = 'a';
  printf("Hit a key.\n");
  scanf("%c", &c);
  if (shmdt(shm) == -1) {
    fprintf(stderr, "shmdt failed\n");
  } else {
    fprintf(stderr, "shmdt successful\n");
  if (shmctl(id, IPC_RMID, 0) < 0) {
    fprintf(stderr, "shmctl failed\n");
  } else {
    fprintf(stderr, "shmctl successful\n");
  return(0);
}This program produces the following output:
memcntl error codes
EINVAL : 22
shmget successful: shmget returned 2780004
shmat successful: 4261412864
address 4261412864 is aligned
memcntl failed: 22
Hit a key.
shmdt successful
shmctl successfulWith "pmap -sx <pid>" I see that the SHM segment is 16 mb large and consists only of 8kb pages.
Nick.

Similar Messages

  • Can large page improve timesten performance on aix??

    hello, chris:
    Can large page imporove timesten performance on aix? we havenot test it yet, I just want to know whether it is ok?? thank you.

    Enabling large page support on AIX may help performance under some circumstances (typically with large datastores). TimesTen does support use of large pages on AIX and no special action is needed on the TimesTen side to utilise large pages. Here is some information on this which should eventually appear in the TimesTen documentation.
    The TimesTen shared memory segment for AIX has been created with the flags
    ( SHM_PIN | SHM_LGPAGE) necessary for large page support for many releases.
    It used to be the case that special kernel flags needed to be enabled so it
    was never documented as being supported. Subsequent AIX releases have made
    enabling large pages a matter of system administration.
    1) Enable capabilities (chuser)
    2) Configure page pool (vmo -r)
    3) Enable memory pining (vmo -p)
    4) [restart timesten daemons]
    The documentation is quoted below.
    AIX maintains separate 4 KB and 16 MB physical memory pools. You can
    specify the amount of physical memory in the 16 MB memory pool using the vmo
    command. Starting with AIX 5.3, the large page pool is dynamic, so the amount
    of physical memory that you specify takes effect immediately and does not
    require a system reboot. The remaining physical memory backs the 4 KB virtual
    pages.
    AIX treats large pages as pinned memory. AIX does not provide paging
    support for large pages. The data of an application that is backed by large
    pages remains in physical memory until the application completes. A security
    access control mechanism prevents unauthorized applications from using large
    pages or large page physical memory. The security access control mechanism
    also prevents unauthorized users from using large pages for their
    applications. For non-root user ids, you must enable the CAP_BYPASS_RAC_VMM
    capability with the chuser command in order to use large pages. The following
    example demonstrates how to grant the CAP_BYPASS_RAC_VMM capability as the
    superuser:
    # chuser capabilities=CAP_BYPASS_RAC_VMM,CAP_PROPAGATE <user id>
    The system default is to not have any memory allocated to the large page
    physical memory pool. You can use the vmo command to configure the size of
    the large page physical memory pool. The following example allocates 4 GB to
    the large page physical memory pool:
    # vmo -r -o lgpg_regions=64 -o lgpg_size=16777216
    To use large pages for shared memory, you must enable the SHM_PIN shmget()
    system call with the following command, which persists across system reboots:
    # vmo -p -o v_pinshm=1
    To see how many large pages are in use on your system, use the vmstat -l
    command as in the following example:
    # vmstat -l
    kthr memory page faults cpu large-page
    r b avm fre re pi po fr sr cy in sy cs us sy id wa alp flp
    2 1 52238 124523 0 0 0 0 0 0 142 41 73 0 3 97 0 16 16
    From the above example, you can see that there are 16 active large pages, alp, and
    16 free large pages, flp.
    Documentation is at:
    http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibmaix.prftungd/doc/prftungd/large_page_ovw.htm
    Chris

  • When reading my book on iBooks, I encounter duplicate pages for many pages then it skips the pages that should be there so I am missing large parts to chapters, is this a "bug" in the book or app? How can this be fixed?

    When reading my book on iBooks, I encounter duplicate pages for many pages then it skips the pages that should be there so I am missing large parts to chapters, is this a "bug" in the book or app? How can this be fixed?

    Does the same thing happen on any other books that you have in the app ? If not then it's probably just that one book, in which can you could try deleting the book and re-downloading it - if it re-downloads in the same state then try the 'report a problem' from your purchase history :http://support.apple.com/kb/HT1933

  • How do I output a large pdf into single pages for press?

    How do I output a large pdf into single pages for press?

    It is certainly a good point that, if they need the files separately, and don't even know how to use Acrobat to split it themselves, it might lead one to question their expertise in the PDF field.

  • Large Product page for Mobile ???

    I'm creating a mobile site. I just need a mobile page for the "large product" I can't use a template for the "Large Product" page why.?
    This would make life beautiful.
    So how do I go about creating a mobile Large Product Page? Can I redirect it?
    I'm frustrated.
    Please HELP Me.!!!

    They dont, they offer mobile layout options.
    Many mobile sites you see on the web at the moment are actually responsive designs which use media quries etc rather then totally different layouts.

  • I have Pages for the iPad and desktop, how can I save it besides the iCloud on my computer and not the iPad?

    I have purchased Pages for my desktop iMac and Macbook Air.  I also have it on my iPad, iPhone and iPod Touch.  They are all synced through the icloud, but the space is now starting to fill up.  (I am the guy asking trivia questions and it fills up with A LOT of questions).  BUT, after each week, I can get rid of 3 documents (16 questions per document).  So, I have roughly 80 games worth of trivia and half of which I would like to save on my computer.  I can pull it up on my computer and it shows that I have that from the icloud, but not on the desktop.  I have lots of space on my desktop to save these, but the iPad is not as large for space.
    How can I transfer roughly 40 documents (from pages) from the icloud to the desktop, (for permanent storage)?  do I have to do each one individually, or is there a select documents you want to move?  Then I can delete from ipad as it seems to take up space on both the ipad and the icloud.
    Thank you in advance.

    Just ignore that post above. I tried to edit it but was too late. Deleting a document from iPad does delete it from iCloud.
    Ignore the line 'There is no data limit on iCloud.com so you could keep all your documents on there' because of course then they will sync to your devices and that's not what you want.
    Sorry, for the confusion.
    Removing documents from iCloud:
    iCloud: Remove documents from iCloud
    You can also move documents to your computer by opening Pages, select iCloud and all the documents you want to move, and drag them onto your desktop (or folder).
    iCloud: iCloud storage and backup overview
    Here is a discussion about 'other':
    Re: What is "other" memory on my iPad

  • Beginners guide screwed|Is impossible to edit large pages on the wiki

    When you're trying to edit a large page on the wiki you get this message:
    WARNING: This page is 40 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
    Firefox can handle the 40kb but not the 107kb of the Begginers Guide for example.
    And when you do a change, if you dont preview it you get a shiny blank page instead of the document.
    I was trying to add one line to the Oficcial installation guide and ended up breaking it into two parts (i move the apendix to another page) to be able to recover it's contents.
    Some other person form #archlinux that was helping me with this issue also accidentally override the text from the Beginners guide, and we can't roll back it. So, any WikiAdmin can roll back the changes on the Beginners guide? and tell us (the normal users) how to edit long pages.
    Thanks
    Last edited by __void__ (2009-01-21 16:34:47)

    __void__ wrote:
    When you're trying to edit a large page on the wiki you get this message:
    WARNING: This page is 40 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
    Firefox can handle the 40kb but not the 107kb of the Begginers Guide for example.
    And when you do a change, if you dont preview it you get a shiny blank page instead of the document.
    I was trying to add one line to the Oficcial installation guide and ended up breaking it into two parts (i move the apendix to another page) to be able to recover it's contents.
    Some other person form #archlinux that was helping me with this issue also accidentally override the text from the Beginners guide, and we can't roll back it. So, any WikiAdmin can roll back the changes on the Beginners guide? and tell us (the normal users) how to edit long pages.
    Thanks
    Some other person here, sorry about that accidental Beginner's guide trash up
    Mr.Elendig wrote:For future reference, don't edit the whole page at once, just edit a section of it. When you are logged in, every section have a 'edit' button/link.
    Got it!
    Last edited by zaggynl (2009-01-22 09:35:03)

  • Large page sizes on Solaris 9

    I am trying (and failing) to utilize large page sizes on a Solaris 9 machine.
    # uname -a
    SunOS machinename.lucent.com 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Blade-1000
    I am using as my reference "Supporting Multiple Page Sizes in the Solaris� Operating System" http://www.sun.com/blueprints/0304/817-6242.pdf
    and
    "Taming Your Emu to Improve Application Performance (February 2004)"
    http://www.sun.com/blueprints/0204/817-5489.pdf
    The machine claims it supports 4M page sizes:
    # pagesize -a
    8192
    65536
    524288
    4194304
    I've written a very simple program:
    main()
    int sz = 10*1024*1024;
    int x = (int)malloc(sz);
    print_info((void**)&x, 1);
    while (1) {
    int i = 0;
    while (i < (sz/sizeof(int))) {
    x[i++]++;
    I run it specifying a 4M heap size:
    # ppgsz -o heap=4M ./malloc_and_sleep
    address 0x21260 is backed by physical page 0x300f5260 of size 8192
    pmap also shows it has an 8K page:
    pmap -sx `pgrep malloc` | more
    10394: ./malloc_and_sleep
    Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
    00010000 8 8 - - 8K r-x-- malloc_and_sleep
    00020000 8 8 8 - 8K rwx-- malloc_and_sleep
    00022000 3960 3960 3960 - 8K rwx-- [ heap ]
    00400000 6288 6288 6288 - 8K rwx-- [ heap ]
    (The last 2 lines above show about 10M of heap, with a pgsz of 8K.)
    I'm running this as root.
    In addition to the ppgsz approach, I have also tried using memcntl and mmap'ing ANON memory (and others). Memcntl gives an error for 2MB page sizes, but reports success with a 4MB page size - but still, pmap reports the memcntl'd memory as using an 8K page size.
    Here's the output from sysinfo:
    General Information
    Host Name is machinename.lucent.com
    Host Aliases is loghost
    Host Address(es) is xxxxxxxx
    Host ID is xxxxxxxxx
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    Manufacturer is Sun (Sun Microsystems)
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    System Model is Blade 1000
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    ROM Version is OBP 4.10.11 2003/09/25 11:53
    Number of CPUs is 2
    CPU Type is sparc
    App Architecture is sparc
    Kernel Architecture is sun4u
    OS Name is SunOS
    OS Version is 5.9
    Kernel Version is SunOS Release 5.9 Version Generic_112233-11 [UNIX(R) System V Release 4.0]
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    Kernel Information
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    SysConf Information
    Max combined size of argv[] and envp[] is 1048320
    Max processes allowed to any UID is 29995
    Clock ticks per second is 100
    Max simultaneous groups per user is 16
    Max open files per process is 256
    System memory page size is 8192
    Job control supported is TRUE
    Savid ids (seteuid()) supported is TRUE
    Version of POSIX.1 standard supported is 199506
    Version of the X/Open standard supported is 3
    Max log name is 8
    Max password length is 8
    Number of processors (CPUs) configured is 2
    Number of processors (CPUs) online is 2
    Total number of pages of physical memory is 262144
    Number of pages of physical memory not currently in use is 4368
    Max number of I/O operations in single list I/O call is 4096
    Max amount a process can decrease its async I/O priority level is 0
    Max number of timer expiration overruns is 2147483647
    Max number of open message queue descriptors per process is 32
    Max number of message priorities supported is 32
    Max number of realtime signals is 8
    Max number of semaphores per process is 2147483647
    Max value a semaphore may have is 2147483647
    Max number of queued signals per process is 32
    Max number of timers per process is 32
    Supports asyncronous I/O is TRUE
    Supports File Synchronization is TRUE
    Supports memory mapped files is TRUE
    Supports process memory locking is TRUE
    Supports range memory locking is TRUE
    Supports memory protection is TRUE
    Supports message passing is TRUE
    Supports process scheduling is TRUE
    Supports realtime signals is TRUE
    Supports semaphores is TRUE
    Supports shared memory objects is TRUE
    Supports syncronized I/O is TRUE
    Supports timers is TRUE
    /opt/default/bin/sysinfo: /dev/ksyms is not a 32-bit kernel namelist
    Device Information
    SUNW,Sun-Blade-1000
    cpu0 is a "900 MHz SUNW,UltraSPARC-III+" CPU
    cpu1 is a "900 MHz SUNW,UltraSPARC-III+" CPU
    Does anyone have any idea as to what the problem might be?
    Thanks in advance.
    Mike

    I ran your program on Solaris 10 (yet to be released) and it works.
    Address Kbytes RSS Anon Locked Pgsz Mode Mapped File
    00010000 8 8 - - 8K r-x-- mm
    00020000 8 8 8 - 8K rwx-- mm
    00022000 3960 3960 3960 - 8K rwx-- [ heap ]
    00400000 8192 8192 8192 - 4M rwx-- [ heap ]
    I think you don't this patch for Solaris 9
    i386 114433-03
    sparc 113471-04
    Let me know if you encounter problem even after installing this patch.
    Saurabh Mishra

  • Recent loss of embedded QT movies on many page for IE7 using ActiveX object

    I have many pages that allow you to select from 4 video formats including QT .mov. An example is at http://www.cwdjr.net/video4/cancanL.php . The QT object uses ActiveX when on IE only(I use Windows conditional comments) and an ordinary object for most other browsers. Until sometime very recently all of these pages worked when you select the QT file. Now QT works on none of them. I suspected the problem might be due to a very recent Windows XP update which is a large one including .NET updates and other things(K8951847) X 86. I was able to restore to a day before this update, but this did not solve the problem. Of course some portions of some updates can not be removed be restoring to an earlier time, so the result does not prove the update was not at fault.
    The involved pages are mostly written in php on the server, so you will not be able to see very much by viewing the source code. To make the problem more simple to view, I made a test page for QT only and with the ActiveX object only. Thus this test page can not be viewed on most browsers that do not support ActiveX. The test page is at http://www.cwdjr.info/broadbandMedia/formatsAX/qtmovtest2.php . Since I serve pages as valid xhtml 1.1 using the correct mime type application xhtml+xml, no IE browser can view the page, since no IE browser can support xhtml served properly. Thus I have a php include at the very top for header exchange between the browser and server. If this says the page does not support the mime type for xhtml, then php using regular expressions, etc is used to rewrite the page as html 4.01 strict for the outmoded browser. Thus don't be surprised if you find some pages in xhtml and others in html when you check properties.
    The ActiveX object used for QT on the test page is below:
    QT MOV
    (CLICK ABOVE LINK IF NO PLAYER)
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="295" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="autoplay" value="true" />
    <param name="controller" value="true" />
    <param name="kioskmode" value="true" />
    <param name="src" value="http://www.cwdjr.info/movie/cancan.mov" />
    </object>
    Once the page comes up on IE7, it is rather slow to respond. Then it gives:
    "Web site wants to install the following ActiveX control: 'Quick Time' from 'Apple Inc'".
    If you do try to install, nothing happens. In contrast to my regular pages, I added the code show above just before the start of the object. Clicking this on will bring up the QT video, but of course it is not embedded on the desired page. This may work as a temporary fix for IE. I likely can hide it from other browsers by enclosing it in Microsoft conditional comments.
    I would be interested if anyone else has had such a problem recently or any ideas concerning this strange response on IE7. I am talking about viewing the page on the server. Since this is a php page it can be viewed locally only if you have a server installed on your computer and I do not. The pages with the first url example given above have operated well on IE7, Firefox, Opera, Safari for Windows, Flock, K-Meleon, Google Chrome and SeaMonkey. There are a few players that have some issues with some of the formats, but this and the fact that some players may not be installed is the reason for offering the video in 4 formats. I sometimes offer high broadband versions as well as low broadband versions.
    It seems I spend more time correcting IE issues than for all of the other mentioned browsers combined.

    Thanks for the reference. I use nearly no JS anymore, since it often causes problems with true xhtml served properly even when you use external script files. Often one can use php script on the server and avoid these problems. When one serves as true xhtml using the correct mime type of application/xhtml+xml, the page is parsed with a very strict xml parser rather than a loose-as-a-goose html parser. (If one serves a page written in xhtml code as mime text/html, as is incorrectly done perhaps 99% of the time, you are using only html, not xhtml, and are fooling only yourself. The page is parsed as html instead of xhtml.) The xml parser has to be very strict to account for any possible xml content. Even a single, or even several, errors often will not prevent a html page from showing, but even a single error on an xhtml page served properly will often get an error report from the xml parser rather than a view of the page. One of the most laughable examples of misunderstanding of this issue is the home page of Microsoft. It claims to be xhtml. However it is served as text/html and thus would be better written in html 4.01 in the first place. Moreover, if you validate the page as xhtml at w3c, you find hundreds of xhtml errors. If Microsoft served their home page properly as application/xhtml+xml it of course would not work on any IE browser, at least through IE7, since none of these IE browsers can handle true xhtml. In addition the page likely would not show up on any browser if served as true xhtml until all of the hundreds of xml and other errors on the page were corrected. Instead, one likely would get a very long error report rather than a view of the page.
    Back to JS, document.write will not work in properly served xhtml, because it easily could produce code with XML errors. For instance it might produce code that contains an unclosed tag, which is a major xml error that can cause an xml device to malfunction. The xml parser thus rightly finds document.write as an error and prevents viewing of the page. However one often can generate the same code as document.write would produce on a browser with php on the server. The finished code is what gets downloaded to the browser, so the xml parser can check everything in the finished code rather than quess what a JS document.write might produce. And don't think you can sweep document.write under the rug by using an external JS file. The very strict xml parser finds it.
    Of course embed has never been a w3c tag, but rather is a bad hangover from the browser war era, a gift of Netscape. No page that includes embed can validate as w3c xhtml or xml of any flavor, at least through xhtml 1.1. However the page may work, despite the error, if server as text/html.
    All I know is that something has happened recently that has caused my problem to surface. It likely has to do with some change in the XP OS or IE browser. I have tried viewing several pages written by others that use many types of code for .mov, and all of them I have viewed that use an ActiveX embed for the benefit of IE now have the problem I mentioned. If anyone else with XP and nearly all updates, including the very recent one I mentioned, and the most recent version of QT has had this problem, I could be more confident that the problem comes from an external source. If not, it is still possible the sudden change could be something concerning a specific issue that has developed in my computer.
    Again, thanks for the JS reference. Some of this likely can translate into php so I can compare how the JS and php server script I am using relate.

  • *** - no footnotes & endnotes in Pages for iPad?!

    OK - I just got an iPad and am in general fairly happy about it. But I had a big *** moment, after I purchased Pages and tried to open a document I had been working on on my Mac. Guess what - iPad Pages won't import footnotes and endnotes!
    Does anyone know if Apple is planning on changing this in an upcoming release? This is truly unacceptable. How can Apple expect all of its student customers to use it, not to mention other academics? This strikes me as a large portion of their customer base. What's worse, the advertising leads one to believe that, besides some complex formatting, everything you can do on Pages for Mac can also be done on Pages for the iPad.
    Has anyone found a workaround to this 'bug'? I don't know whether Apple did this intentionally or not, but it's a very serious drawback of the app.
    I will tell my student friends not to download Pages for iPad, until this is fixed. Apple - get with it!
    A loyal but disappointed Apple customer

    I agree with most of what you are trying to get across, except that I think there are a few problems when applied to the issue at hand (footnotes on iPad Pages).
    1) Yes, I agree the OP could have found out. I haven't bought an iPad yet, and this is one of the reasons (along with issues with Keynote), and the fact that I until these things are solved, my MacBook Pro works fine. However, here are a few lines right from Apple's product page on the iTunes store...
    - View and edit existing documents by importing Pages '09 or Microsoft Word files from Mail attachments or web.
    - Share your work by exporting to Pages '09, Microsoft Word, or PDF and sending it via Mail. …
    - Transfer documents between Mac or PC and your iPad using File Sharing in iTunes.
    Now, combine that with the fact that this isn't called 'Pages Lite' or iPadMiniWrite... one sure gets the impression that things are going to be more seamless. Not even a little asterisk noting some feature difference in files or that you lose certain document aspects when going back and fourth. You'd have to be fairly tech-savvy to pick up the word 'export' and 'import' and imply this from that. One would guess that for MS Word or some other word processor, but not when the app has the same name and the above statements are made.
    2) Yes, I realize footnotes aren't trivial, but they are a basic feature of every word-processor I've ever used (mail merge probably as well)..... I'm pretty sure even back on computers with several times less processing power and RAM than the iPad has. There are some incredibly complex applications for the iPad. Unless there is some really crazy limitation I can't conceive of, footnotes aren't a technical limitation issue.
    3) I'm not blaming Apple for anything other than being pretty unclear about this. Make it clear... then let the user decide. While I love Apple, this is walking a pretty fine line near deception IMO. I do remember finding this out and being somewhat ******-off at the time because I had been tricked after the keynote (speech), and reading EVERYTHING I could find on the topic. This didn't come out until some real reviewers got their hands on one and discovered and exposed it. I certainly wasn't the only one who was shocked by this. That isn't cool, and isn't the Apple I know.
    4) I don't really think it is an unfair complaint. This is something Apple should implement (and hopefully will)... and be clear about until then. At the very least, if the iPad can't support footnotes, it should at least somehow preserve them in the file so that if you save and go back to the desktop, it hasn't stripped them out.
    BTW, sorry for inferring you were a fanboy... and welcome to the world of Apple. I think you'll find that long-time Apple users can be extremely critical of Apple products when we feel they aren't living up to expectations in some way. And, believe it or not, Apple often does listen..... which I think is at least part of what has made them a great company.

  • Tables and cells in Pages for iPad

    I am using Pages for iPad. I am writing in a table and when I write a large content in a cell, it desappears on the bottom of the page.
    Is there any way to make the cell to split automatically when it reaches the bottom of the page?
    Thank you for your answers.

    You could send your need to Apple and maybe they will add it.
    Send feedback/suggestions to Apple.
    http://www.apple.com/feedback/ipad.html
    Also, I read that Microsoft may soon provide and Office version for Apple's iDevices.
    Also, look at the Rccharles answer on this post.
    https://discussions.apple.com/thread/5812929?tstart=0
     Cheers, Tom

  • Total Shared Global Region in Large Pages = 0 KB (0%)

    Hi ,
    Am working on Oracle Database 11.2.0.3 ,
    Application 12.1.3.
    i see this message in the alert log file :
    ****************** Large Pages Information *****************
    Total Shared Global Region in Large Pages = 0 KB (0%)
    Large Pages used by this instance: 0 (0 KB)
    Large Pages unused system wide = 0 (0 KB) (alloc incr 32 MB)
    Large Pages configured system wide = 0 (0 KB)
    Large Page size = 2048 KB
    RECOMMENDATION:
    Total Shared Global Region size is 12 GB. For optimal performance,
    prior to the next instance restart increase the number
    of unused Large Pages by atleast 6145 2048 KB Large Pages (12 GB)
    system wide to get 100% of the Shared
    Global Region allocated with Large pages
    What should i do ?
    Thanks

    You definitely are not using hugepagesd. That's what the message you mentioned above is telling you:
    Total Shared Global Region in Large Pages = 0 KB (0%)It very clearly tells you that you have 0KB or 0% is in large pages.
    Note that the terms "large pages" and "hugepages" are synonymous. In Linux, they're called hugepages.
    Also, at the O/S level, you can do:
    cat /proc/meminfoTo see how many hugepages are allocated/free/reserved.
    Hope that helps,
    -Mark

  • Using large pages on Solaris 10

    Hello,
    I�ve some problems to use large pages ( 16k, 512k, 4M ) on two Primepower650 systems. I�ve installed the most actual kernel 127111-05.
    The pagesize -a command respond 4 page sizes ( 8k, 16k, 512k, 4M ). Even if I try the old manual method using LD_PRELOAD=mpss.so.1 and a mpss.conf file to force large pages the pmap -sx <pid> shows only 8k for stack,heap and anon. Only for shared memory 4M DISM segments are used. I didn�t receive any error message. Two other primepower systems with the same kernel release works as expected.
    What can I do for further troubleshooting ? I�ve tried different kernel settings all without effect.
    Best regards
    JCJ

    This problem is now ( paritially ) solved by the Fujitsu-Siemens edition of kernel patch 127111-08. The behaviour is now like Solaris 9 because large pages must be forced by LD_PRELOAD=mpss.so.1 and still didn�t work out of the box for this kind of cpu ( Sparc GP64 V only ). All available page sizes ( 8k, 64k, 512k and 4M ) can now be used by configuring the /etc/mpss.conf. Unfortunally large pages out-of-the-box are not working on this kind of cpu and the actual kernel patch. This is not so nice because on large systems with a lot of memory and a lot of large processes there may be still a lot of TLB misses. So I still wait and test further as soon as new kernel patches are available.
    JCJ

  • Do Web pages for phones have to be Apps?

    I do not own a mobile phone that is web enabled, and I never designed a web page for phones, but now due to the steep learning curve, I need a quick fix.
    Reading the help in Dreamweaver 5.5, there is lots of information about creating the best  mobile sites, though at the moment, I don't understand a lot of it - but that's my fault.
    However, when I use someone else's phone to look at most existing sites that are just designed for computers to view, the phone has facilities that make the sites available.
    Lots of zooming and such which is a pain, but you usually can view them.
    It occurred to me that perhaps there is a position mid way between a stock web site and a fully fledged phone app could be a stop gap solution until the whole mess of media queries, and other phone related stuff is understood.
    My suggested solution is as follows:
    Provide seperate sets of pages for both types at suitable sizes ( max 320 wide for mobiles).
    Keep all graphics for phone pages to a minimum size and well optimised to allow for quick page loading.
    1.On the index page of the site, put a large link to the phone pages and one to the computer pages so that its easily seen by phone users
    2. Design the index page and all phone pages so that the content would fit on a 320 pixel wide screen.
    3. Have the first page after the index purely as the menu screen, with a list of links.
    4. Each link leads to a deck of stacked pages that that are serially linked back and forth, with a "return to first page" on each one, with the navigation being at the bottom (or the top?) of the page.
    To view pages, the phone user would have to select the phone link on the site's index page, then select from the menu to get to the first page of a topic. He can then flick through the linked set of pages and go back to the menu from any. The pages would fit most mobile phones, and no phone specific stuff wopuld be needed.
    I appreciate that this method would not provide the most sparkling of mobile web sites, and would require two sets of pages, which is a maintenance problem, but it ought to help phone users to surf my site until I can get up to speed with the mobile stuff.
    Question is - would it work?
    Your comments please?
    Howard Walker

    mhollis55 wrote:
    Frankly, if you simply do a website using HTML5, you're set for a mobile device. And Dreamweaver 5 and 5.5 both give you code-hinting and definitions for HTML5/CSS3.
    jQuery would be the "app" side of that, though if you are really looking to make an application that works on a mobile phone, your best method is to do it in Flash and then compile it using Air. Adobe has a complete discussion of what's required here.
    Hi mhollis55
    Could you tell me why you describe the jQuery mobile framework as an app?
    The framework uses html5, css3 and ARIA, and is designed to make the creation of mobile friendly web pages easier for those who do not wish to commit themselves to learning all the mobile specific features required by modern smartphones and now even supports many of the older smartphone devices, see - http://jquerymobile.com/
    PZ

  • Can I have variable widths of columns in a table in pages for ipad?

    I would like to make a table in Pages that has a larger column for the first column than the others so I can put labels in this column. Is that possible on the ipad? I know I can do this in Pages on a computer.

    Yes you can:
    Select the column in question by tapping on the very top bar.
    Drag the || handle to the left or right to change the width.
    You may need to reduce the width of one or more other columns to do this if the table is already the width of the margins.

Maybe you are looking for