Search:

Type: Posts; User: funkylunch

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    29
    Views
    3,215

    yep, the results are averaged over twenty runs

    These are the results after running the program about twenty times. I ran the program on the same machine with the same other programs running and recorded the figures from the process tab in task...
  2. Replies
    29
    Views
    3,215

    Have to hand this in by 10pm (GMT). Thanks for...

    Have to hand this in by 10pm (GMT). Thanks for all your help if you don't get back to me by then. Much appreciated, thanks again,

    funkylunch.
  3. Replies
    29
    Views
    3,215

    VirtualAlloc function

    ok well how about this,

    how can i re-write the program so it only uses virtual memory:
    by using the virtual alloc function?
    Then maybe I could work out the answer myself.

    What do you think?
    ...
  4. Replies
    29
    Views
    3,215

    salem, I know this is bumping my threads, but...

    salem,

    I know this is bumping my threads, but i really want to know the answer. Are you not replying because

    a.) You still think it is a stupid question?

    ...
  5. Replies
    14
    Views
    2,605

    my other problem

    fordy,

    can u help me with my other problem: memory access time?
  6. Replies
    1
    Views
    921

    my other problem

    fordy, can u help me with my memory access time problem too?
    am i not allowed to post messages like this?
  7. Replies
    14
    Views
    2,605

    Virtual Memory Allocation

    do you mean "when" instead of "unless"?

    why would i not want to burden my heap with something?

    why would i want to allocate a block at a specific point in my usermode address space?

    Why...
  8. Replies
    14
    Views
    2,605

    hmm

    that still doesn't explain when it would be better to use virtual alloc. Is virtual alloc pointless?
  9. Replies
    14
    Views
    2,605

    when to use Virtual Alloc

    Can you explain when it would be more appropriate to use
    virtual alloc rahter than malloc in laymans terms?

    I looked in the MSDN library, but it may as well be in Swahili.

    thanks for all your...
  10. Replies
    14
    Views
    2,605

    so, i press the use button and it writes...

    so,

    i press the use button and it writes something to a VM block. Exactly what is it writing? Just 1's? And, how much each time i press it? 64Kb or as much as i have commited?
  11. Replies
    29
    Views
    3,215

    another typo

    the last line line (the most important one!) should read

    67108.864, 66392, 3716, 5.59706, 433, 715,1.65
  12. Replies
    29
    Views
    3,215

    neater table

    My table got messed up when i posted it, here is a version without any spaces:

    Array, Max mem used, VM used, % mem =VM, R by R time,
    C by C time, C by C : R by R ratio:::::

    0.256, 568, 168,...
  13. Replies
    29
    Views
    3,215

    still don't understand

    Actually,

    Hold on a minute, it still doesn't make sense. Look at my table of results:


    Array Max VM % mem Row col ratio
    ...
  14. Replies
    29
    Views
    3,215

    ok thanks

    ok thanks
  15. Replies
    14
    Views
    2,605

    when to use virtual alloc

    thats great,

    when would it be a good idea to use virtual Alloc instead of malloc? could you give me some "real" examples?
  16. Replies
    29
    Views
    3,215

    Salem, I still cant unerstand why when you run...

    Salem,

    I still cant unerstand why when you run this program it is always quicker to access the memory row by row. You said earlier that if it is neither cached or paged then it makes no...
  17. Replies
    14
    Views
    2,605

    anyone got any ideas? thanks,

    anyone got any ideas? thanks,
  18. Replies
    29
    Views
    3,215

    VirtualAlloc

    Hi,

    I think there is a way to run the whole program in virtual memory. Does anyone know how I would have to change the above code to acheive this?

    I think it would involve the virtual alloc...
  19. Replies
    14
    Views
    2,605

    virtual memory program

    // VMStatsDlg.cpp : implementation file
    //

    #include "stdafx.h"
    #include "VMStats.h"
    #include "VMStatsDlg.h"

    #include <winbase.h> // For GlobalMemoryStatus and MEMORYSTATUS

    #ifdef _DEBUG
  20. Replies
    29
    Views
    3,215

    finally, here is the code:

    Right, so how can i modify this program so it only uses virtual memory? alternatively how else can i prove that

    1. Accessing virtual memory column by column is slower than row by row.

    2. These...
  21. Replies
    29
    Views
    3,215

    oh, and what is moot?

    oh, and what is moot?
  22. Replies
    29
    Views
    3,215

    ok, so i need to post the code in the message...

    ok, so i need to post the code in the message somewhow. I looked in the FAQ but found nothing about posting visual c code. Please could someone tell me how to post the code as text here without...
  23. Replies
    29
    Views
    3,215

    can vc use only virtual memory??

    ok,

    sorry about the code. So can I re-write the program (rowcol.c, in my first thread which everyone was too scared to download) so it only uses virtual memory? isn't there a function called:
    ...
  24. Replies
    29
    Views
    3,215

    can i confirm that?

    Thanks that is great. Are you sure it makes no difference to access times in terms of main memory if accessed row by row or column by column? I would like to check that using this simple visual c...
  25. Replies
    29
    Views
    3,215

    memory access times

    i am not sure but I think it is quicker to acccess virtual memory
    column by column as opposed to row by row.

    Real memory displays opposite properties.

    Can anyone explain why this is so? Or...
Results 1 to 25 of 27
Page 1 of 2 1 2