Loading CHDK in AgentRAM for a few more cameras - page 4 - General Discussion and Assistance - CHDK Forum supplierdeeply

Loading CHDK in AgentRAM for a few more cameras

  • 73 Replies
  • 19260 Views
*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #30 on: 19 / October / 2014, 17:28:56 »
Advertisements
Patch for ixus105_sd1300
Works nicely. New largest free block in RAM is 912848 bytes.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #31 on: 19 / October / 2014, 17:38:13 »
Patch for ixus110_sd960
It works but the largest free block pf RAM is now 446680 which is a bit less than before. So unless there is a reason in favor of doing it this way it might not be an improvement.

Is this some bug?
« Last Edit: 19 / October / 2014, 18:01:54 by koshy »
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #32 on: 19 / October / 2014, 17:56:08 »
Patch for a580
This works well, new largest free block in RAM is 683544.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #33 on: 19 / October / 2014, 18:03:44 »
Patch for a3200
This result seems off by a long shot. The camera boots but the maximum free block in RAM is halved instead of increased. It's now only 269912 bytes...
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)


*

Offline nafraf

  • *****
  • 1308
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #34 on: 19 / October / 2014, 18:16:22 »
For A3200, IXUS110_SD960, I´d like to see the full output of "=return get_meminfo()". Thanks

*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #35 on: 19 / October / 2014, 18:35:40 »
For A3200, IXUS110_SD960, I´d like to see the full output of "=return get_meminfo()". Thanks

A3200 ARAM
Code: [Select]
4:return:table:{chdk_start=2718372,free_size=273880,chdk_size=150912,allocated_size=1382816,free_block_count=17,name="combined",allocated_count=1501,chdk_malloc=true,free_block_max_size=270952,allocated_peak=1448008,total_size=1656776,}

A3200 original test
Code: [Select]
5:return:table:{chdk_start=63752052,free_size=751024,chdk_size=151648,allocated_size=1224416,free_block_count=7,name="combined",allocated_count=1490,chdk_malloc=true,free_block_max_size=533232,allocated_peak=1328280,total_size=1975528,}
6:return:533232
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #36 on: 19 / October / 2014, 18:43:59 »
For A3200, IXUS110_SD960, I´d like to see the full output of "=return get_meminfo()". Thanks

IXUS 110
Code: [Select]
5:return:table:{chdk_start=62570020,free_size=1764744,chdk_size=152560,allocated_size=1447536,free_block_count=10,name="combined",allocated_count=1484,chdk_malloc=true,free_block_max_size=1318848,allocated_peak=1514920,total_size=3217144,}
IXUS 110 original test
Code: [Select]
12:return:table:{chdk_start=62581644,free_size=1771184,chdk_size=153200,allocated_size=1388336,free_block_count=10,name="combined",allocated_count=1474,chdk_malloc=true,free_block_max_size=1264648,allocated_peak=1455672,total_size=3164264,}
13:return:504744
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline reyalp

  • ******
  • 14110
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #37 on: 19 / October / 2014, 22:57:12 »
Just FYI, if you want complete info an all the pools in more readable format, you can use:
Code: [Select]
!return con:execwait[[return get_meminfo'system',get_meminfo'aram',get_meminfo'exmem']]
Don't forget what the H stands for.


*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #38 on: 20 / October / 2014, 07:03:39 »
Just FYI, if you want complete info an all the pools in more readable format, you can use:
Code: [Select]
!return con:execwait[[return get_meminfo'system',get_meminfo'aram',get_meminfo'exmem']]
Thank you very much for the command.

Here is IXUS 100's output:
Code: [Select]
!return con:execwait[[return get_meminfo'system',get_meminfo'aram',get_meminfo'exmem']]
={
 free_block_count=1,
 free_block_max_size=443952,
 chdk_size=152560,
 free_size=443952,
 allocated_count=588,
 chdk_start=62570020,
 name="system",
 start_address=1344968,
 allocated_size=1295944,
 total_size=1744600,
 allocated_peak=1326096,
 chdk_malloc=true,
 end_address=3089568,
},{
 free_block_count=3,
 free_block_max_size=576,
 chdk_size=152560,
 free_size=632,
 allocated_count=857,
 chdk_start=62570020,
 name="aram",
 start_address=3617776,
 allocated_size=51544,
 total_size=52240,
 allocated_peak=52176,
 chdk_malloc=true,
 end_address=3670016,
},{
 free_block_count=8,
 free_block_max_size=1318456,
 chdk_size=152560,
 free_size=1318760,
 allocated_count=56,
 chdk_start=62570020,
 name="exmem",
 start_address=62569936,
 allocated_size=101440,
 total_size=1420304,
 allocated_peak=136648,
 chdk_malloc=true,
 end_address=63990240,
}
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline koshy

  • *****
  • 1096
Re: Loading CHDK in AgentRAM for a few more cameras
« Reply #39 on: 20 / October / 2014, 07:07:13 »
And here is the output of the A3200
Code: [Select]
!return con:execwait[[return get_meminfo'system',get_meminfo'aram',get_meminfo'exmem']]
={
 free_block_max_size=270816,
 free_size=271640,
 allocated_count=649,
 total_size=1602888,
 allocated_peak=1394192,
 chdk_malloc=true,
 start_address=1484952,
 end_address=3087840,
 chdk_start=2718372,
 free_block_count=7,
 allocated_size=1331248,
 name="system",
 chdk_size=150912,
},{
 free_block_max_size=576,
 free_size=656,
 allocated_count=870,
 total_size=53888,
 allocated_peak=53824,
 chdk_malloc=true,
 start_address=3616128,
 end_address=3670016,
 chdk_start=2718372,
 free_block_count=5,
 allocated_size=53152,
 name="aram",
 chdk_size=150912,
},false
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal