Results 1 to 7 of 7

Thread: How to turn off caching feature in openSuse 11.2

  1. #1

    Default How to turn off caching feature in openSuse 11.2

    One of my High Availability testing of an IBM product states that "Must ensure that any caching is turned OFF to ensure data integrity".

    How can I turn off the caching feature in openSuse 11.2?

    Please advise..

    Thank you all in advance..

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,059
    Blog Entries
    14

    Default Re: How to turn off caching feature in openSuse 11.2

    You mean turning off swap?

    Yast Partitioner, remove swap device, done.

    Or do you mean disabling disk caching? Do a 'man hdparm'.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: How to turn off caching feature in openSuse 11.2

    That's what is puzzling me.. Our document simply states what I had given earlier.. I'm not sure whether they required to turn off the SWAP (or) disk caching.

    My probable guess would be disk caching.

    Anyways, I very much appreciate your answer.

    I've got one doubt regarding disabling SWAP device. Will that have any effect on my OS? (if I disable SWAP device).
    How will it affect the performance of my system if I disable it (if it does)?

    Thank you Sir in advance for your reply.

  4. #4
    Join Date
    Dec 2009
    Location
    Find me...
    Posts
    71

    Default Re: How to turn off caching feature in openSuse 11.2

    Quote Originally Posted by sekhorr View Post
    That's what is puzzling me.. Our document simply states what I had given earlier.. I'm not sure whether they required to turn off the SWAP (or) disk caching.

    My probable guess would be disk caching.

    Anyways, I very much appreciate your answer.

    I've got one doubt regarding disabling SWAP device. Will that have any effect on my OS? (if I disable SWAP device).
    How will it affect the performance of my system if I disable it (if it does)?

    Thank you Sir in advance for your reply.
    Yay, something I could possibly help with!

    The SWAP partition is sometimes not necessary, it depends on your system specifications. Just in the same way that on a Windows system, the Virtual Memory is sometimes not needed. For instance if you had only a small amount of memory on your computer then having a SWAP partition might help give performance a little boost, since this will simply 'swap' applications between the RAM and the hard drive as required.

    If you have lots of memory though, a SWAP partition may not make any difference as it's less likely to be needed. Why not post your system specifications here if unsure, then we can tell you how much of an effect (if any) removing the SWAP partition could have?

    Hope this helps.


    Regards,

    Jon.

  5. #5
    palladium NNTP User

    Default Re: How to turn off caching feature in openSuse 11.2

    sounds like they _might_ be talking about disk/swap cache...however,
    you do know there are other caches. don't you?

    like a "CPU cache" a "pipeline cache" and "RAM cache" and probably
    many i've never heard of...so depending on what you are working with
    and where they are talking about you need to KNOW what is going on,
    *or* risk data loss/corruption..

    so, i guess instead of asking us here, you should ask the
    folks/person/company (IBM??) who wrote "Must ensure that any caching
    is turned OFF to ensure data integrity." and find out _exactly_ what
    they meant!

    i'm confident it does not say "When using openSUSE you must ensure
    that any caching is turned OFF to ensure data integrity." so . . .

    --
    palladium

  6. #6

    Default Re: How to turn off caching feature in openSuse 11.2

    Hey Jon,
    Thank you very much for your kind reply. I could see your sincere efforts in trying to get the message out to me. I do appreciate your efforts Sir.

    Below is my system spec. Could you please deduce out of these specs?

    Pentium 3.4GHZ processor
    3GB RAM
    Total Paging File size for all drives: 1524MB

    Thank you Sir

  7. #7
    Join Date
    Dec 2009
    Location
    Find me...
    Posts
    71

    Default Re: How to turn off caching feature in openSuse 11.2

    Quote Originally Posted by sekhorr View Post
    Pentium 3.4GHZ processor
    3GB RAM
    Total Paging File size for all drives: 1524MB
    This appears to be a decent amount of RAM, should be sufficient for most situations. I'm guessing the 'paging size for all drives' is referring to the size of the current SWAP partition on your system? Correct me if I'm wrong.

    Whether the RAM alone is enough however will depend on what you're running or wanting to run, and on how much memory those things might take up when running. Like palladium says, it's probably best to double-check just in case.

    Hope this helps.


    Regards,

    Jon.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •