Is DMA really worth it?

This is a discussion on Is DMA really worth it? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; In todays computer world, with massive quantities of memory, is dynamic memory allocation really worth the hastle? Computers have so ...

  1. #1
    Registered User Master_Rondal's Avatar
    Join Date
    Oct 2002
    Posts
    9

    Is DMA really worth it?

    In todays computer world, with massive quantities of memory,
    is dynamic memory allocation really worth the hastle? Computers have so much memory that a couple megabytes should not make a difference...I mean even in networks where the memory is all stored on one computer, that one computer has like a terabyte or so of memory. Is saving a couple of bytes per variable really that important...I dont think so...What do you think?

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Dynamic memory allocation is very important. If you keep on allocating memory and never release the memory, your memory will soon be full, no matter how many memory you have. On large computer systems, there are usually also large applications running.

    Saving a couple of bytes per variable, for example using a char instead of an int, is in large systems not a big problem. In embedded systems it still can be.

  3. #3
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    I mean even in networks where the memory is all stored on one computer, that one computer has like a terabyte or so of memory. Is saving a couple of bytes per variable really that important...I dont think so...What do you think?
    I have a 5 computer network, all connecting through the internet and storing files via me. I have a terrabyte in my computer, and i feel that yes, DMA is worth it.

    Just my free two cents.

  4. #4
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    as i know it when you say DMA you are talking about direct memory access. maybe there are more than 1 dmas

  5. #5
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    in this case he means dynamic memory allocation

  6. #6
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    You have 1,000 Gigs of storage in you computer! Great crap man. What do you need all that for?
    Blue

  7. #7
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Originally posted by Betazep
    You have 1,000 Gigs of storage in you computer! Great crap man. What do you need all that for?
    ::to Betazep:: I still don't believe that he has a terrabyte RAID setup...

  8. #8
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> that one computer has like a terabyte or so of memory

    I don't think you know what you are talking about - sorry.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  9. #9
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Originally posted by BMJ
    ::to Betazep:: I still don't believe that he has a terrabyte RAID setup...
    You don't. Why not? 10 100Gb SCSI Drives in a RAID 0 is almost as common as 20 100Gb SCSI Drives in a RAID 1. Get yours today!

    Just kidding. He probably meant something other than that, though. I assumed storage which on second read probably isn't the case.

    I think we are talking about memory, though. So it must be a terrabyte of memory? Or a terrabyte of data transfer... something along those lines.
    Blue

  10. #10
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    If I had a terrabye of space, I'd be using like 3% of it

  11. #11
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    On this OS partition, I would be using .6% (6G of 1000G) if my simple math is correct.

    This is my most frequently used OS, webserver, ftp, et al. I don't think I could fill up a 100G even.
    Blue

  12. #12
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    > I don't think I could fill up a 100G even.
    You could, but who would want to, or even have the time.
    You'd have to have ATLEAST a 185 kilobyte per second broadband connection, and download for hours. Infact, find a good downloading tool that lets you program your computer to download files. Then, while you're sleeping, it's accumlating files.
    With the fastest connection that will STILL take forever, not to mention you'd fine no use for half of it.

    Cmon! Who here ACTUALLY enjoys or likes software, videos, music, etc. that would take up 1,000gb of space?

    Maybe pictures of electronic circuit boards for JAMMA arcade cabinets, with the manuals, all high quality snaps. The entire MAME rom set(will be about 7gb after this new release with area 51, both cruisins, both killer instincts, primal rage, and war gods soon). TONS of computer games. Every 1gb game you could get your hands on.

    Point being, nobody has that many hobbies.
    (I have quite a few electronic hobbies...but, not even CLOSE to that many..damn)

    * biggest 'stand-alone' hard drive I've seen is 320gb and that costs about 2,500 US dollars.
    The world is waiting. I must leave you now.

  13. #13
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    lol just get WD's 200gb $300 drive, they rock

  14. #14
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    were not getting into another debate on wether or not i have a terrabyte, i do, i don't care if u don't believe me :P

    I have around 15 gigs taken up.

  15. #15
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    WTF, out of 1024 gigs you only have 15 taken up !!! WTF WTF WTF

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual Studio - worth getting?
    By ulillillia in forum Tech Board
    Replies: 1
    Last Post: 05-12-2007, 12:01 PM
  2. Is VC++ worth buying?
    By nickname_changed in forum C++ Programming
    Replies: 9
    Last Post: 03-15-2003, 06:38 AM
  3. q-Analysis - worth taking a course over?
    By Captain Penguin in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-04-2002, 05:09 PM
  4. Is it worth the time....worth the sacrifice?
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-04-2002, 07:33 PM
  5. speakers
    By Unregistered in forum C Programming
    Replies: 12
    Last Post: 03-31-2002, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21