Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#97531 - 04/06/2002 16:27 Mark 1 upgrade
willebear
journeyman

Registered: 04/06/2002
Posts: 96
Loc: Louisville, KY USA
i am considering buying a mark 1 with a 3 gig drive. can this drive accept larger hard drives (20 gigs?). I understand there is a clearance issue with the height. Is there anything about the mark 1 that doesn't size up to the mark2?

thanks in advance
_________________________
50 Gig MK2 feat. over 7445 songs, 865 albums by 400 artists for 25 days of easy listening

Top
#97532 - 04/06/2002 16:40 Re: Mark 1 upgrade [Re: willebear]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Differences between the Mk1 and the Mk2 are listed here.

Details about upgrading disk drives are here, including all size, capacity, and clearance data.

Please skim the FAQ before posting questions.
_________________________
Tony Fabris

Top
#97533 - 05/06/2002 16:54 Re: Mark 1 upgrade [Re: willebear]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
There should be NO capacity limitation, just the drive height restrictions. Any normal "slim" laptop drive will work.

Current Empeg/Hijack kernels support drives up to 128GB in size. If/when we see larger ones in the 2.5" size, I'll tack on "48-bit LBA" support to blow away that limitation (already implemented it here in a different driver for a client..).

Cheers

Top
#97534 - 05/06/2002 16:57 Re: Mark 1 upgrade [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Can we hold you to that, Mark?

I think it's cool having you on our team.
_________________________
Tony Fabris

Top
#97535 - 05/06/2002 17:02 Re: Mark 1 upgrade [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Yeah, no problem holding me to that.

It turned out to be quite simple to implement (on the other platform).. much more so than Andre's version (in the 2.4.xx-ac kernel stream) would lead one to believe.

Actually, as soon as I finish with the current project (work), I might just tuck it into Hijack while it's still fresh in my mind.

Cheers

Top
#97536 - 06/06/2002 04:35 Re: Mark 1 upgrade [Re: mlord]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
There is, really, a capacity limitation; the amount of RAM in the mk1 means that you start to run out of caching room if the database gets too big. Personally I wouldn't put more than about 40GB in a mk1 - and people with twin 60 setups would want a mk2a because it has 16MB.

In theory, you can upgrade a mk1 to 16MB with another 4 DRAM chips on the underside of the main board and changes to the kernel, but I don't think the player s/w will recognise it...

Hugo

Top
#97537 - 06/06/2002 04:44 Re: Mark 1 upgrade [Re: altman]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Actually, with my old Mark 2, I didn't have any problems with the amount of RAM, except when I was running the old displayserver as the http server. Then, it would build the array in memory and run out. But in the player app it was never a problem, even with reservecache set.

Are there many other twin 60 setups out there? Just curious...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#97538 - 06/06/2002 07:01 Re: Mark 1 upgrade [Re: altman]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
So Hugo, out of curiosity, if a Mk1 would be running out of memory at around 40GB where does a 16MB Mk2a run out at roughly?

I realise that it's not 80GB since the extra 8MB is doesn't have to hold any of the kernel or player software and is available exclusively for caching. Rough guess?
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#97539 - 06/06/2002 09:28 Re: Mark 1 upgrade [Re: Shonky]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
if a Mk1 would be running out of memory at around 40GB where does a 16MB Mk2a run out at roughly?

It doesn't work like that. What Hugo means is...

- Each song is a database entry.
- Each database entry takes up a fixed amount of space in RAM.
- The more SONGS you have on the player, the bigger the database.
- The bigger the database, the less room there is for caching the music.

So it's not a 1:1 hard-disk-to-memory ratio. For instance, just because you have a bigger hard disk doesn't mean you'll put more songs on it. Maybe you'll just encode your songs at a higher bit rate, and use up the disk space that way.
_________________________
Tony Fabris

Top
#97540 - 06/06/2002 09:39 Re: Mark 1 upgrade [Re: tfabris]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
- Each database entry takes up a fixed amount of space in RAM.

The amount isn't fixed; a song with long database fields (title, artist, comment etc) will take up more space than a song with short ones.

Peter

Top
#97541 - 06/06/2002 09:47 Re: Mark 1 upgrade [Re: peter]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Wow, I didn't realize that.
_________________________
Tony Fabris

Top
#97542 - 06/06/2002 14:43 Re: Mark 1 upgrade [Re: peter]
juenk
journeyman

Registered: 12/01/2002
Posts: 84
Loc: Waardenburg, The Netherlands
Does this mean that removing all comments (usually basic CD info etc, especially with classical music) could raise the maximum number of songs? And would this require re-upload of all songs, or is an minor database fix sufficient to remove all comments?

Although I don't have any problems yet with 40Gb (and read about Paul's 120Gb without problems), it would be an interesting issue once the someone hits this limit.

Jelle
_________________________
Empeg M2A Blue # 010101908 80Gb
Empeg M2A Blue # 030102771 with backlight buttons - Need repair (IDE cable connection on main board) - volunteers?

Top
#97543 - 06/06/2002 14:48 Re: Mark 1 upgrade [Re: juenk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
It would require re-uploading all of the tag files, which could be triggered by simply deleting the comments in JEmplode and then hitting Sync.

-ml

Top
#97544 - 06/06/2002 15:47 Hijack v274 will include LBA48 support (up to 2TB) [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Okay, while I was poking around I decided to add 48-bit LBA support to the IDE driver in the Hijack kernel. It will be present as of Hijack v274, for future use (no laptop drives are that huge yet).

What this means is, instead of the previous IDE drive 28-bit limit of 128GB per drive, the limit is now 32-bits for drives up to 2TB (tera bytes) in size, each. The 48-bit spec allows for drives up to 65536 times that 2TB limit, but all existing Linux kernels top out at 32-bit block numbering in the page/buffer/file systems.

So now the race is on.. who will be the first to attach a HUGE drive to their player..? (most likely Paul!)

Actually, now that I think about it, I suppose I could grab my 2.5/3.5 adaptor and plug this here Maxtor 160GB desktop drive in, just to test things.. MMm.. letmeseeifihavetherightpatchcablesforthis..

Top
#97545 - 06/06/2002 16:09 Re: Mark 1 upgrade [Re: tfabris]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
I realise this, but obviously Hugo picked 40GB from somewhere.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#97546 - 06/06/2002 16:15 Re: Hijack v274 will include LBA48 support (up to 2TB) [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Okay, here's the drive banner from boot time:

hda: Maxtor 4G160H8, 156334MB w/2048kB Cache, CHS=19929/255/63

Mind you, that's as far as it goes for now, since I don't actually have an empeg filesystem on that drive (yet).

Cheers

Top
#97547 - 06/06/2002 16:39 The LBA48 IDE patch by itself [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
And for the record, here is JUST the 48-bit LBA portion of Hijack, in case the empeg folks want to port it to some other kernel.. (hint).

(attached)


Attachments
96516-lba48.pat (142 downloads)


Top
#97548 - 06/06/2002 16:42 Re: The LBA48 IDE patch by itself [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Send it to them on the internal alpha list, silly.
_________________________
Tony Fabris

Top
#97549 - 06/06/2002 16:56 Re: The LBA48 IDE patch by itself [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Done.

Top
#97550 - 07/06/2002 02:02 Re: Hijack v274 will include LBA48 support (up to 2TB) [Re: mlord]
snoopstah
enthusiast

Registered: 07/01/2002
Posts: 337
Loc: Squamish, BC
Heh.. my dad got one of those 160gb Maxtor drives about a month ago, and he can't access more than ~128gb of it on his Win2k machine.

Great work, Mark.

Cheers,

A.
_________________________
Empeg Mk2a 128G with amber lit buttons kit - #30102490

PhotoVancouver | Squamish, BC Webcam | Personal Website

Top
#97551 - 07/06/2002 02:41 Re: Hijack v274 will include LBA48 support (up to 2TB) [Re: mlord]
thinfourth2
Pooh-Bah

Registered: 13/04/2001
Posts: 1742
Loc: The land of the pale blue peop...
How easy is it to get a 3.5 connected to the empeg as my GF only uses the empeg in the house due to my buying an amp for her car her not wanting empeg in car as to big to carry around other woman type arguments second amp in my car etc.

But i was thinking could i attach a big 3.5 to my empeg backup and use it as a music server for the house.

_________________________
P.Allison fixer of big engines Mk2+Mk2a signed by God / Hacked by the Lord Aberdeen Scotland

Top
#97552 - 07/06/2002 03:30 Database size, was: Mark 1 upgrade [Re: peter]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
Peter, are strings shared in the database? In other words, if I have ten tracks from an album with a really long name, will I get ten instances of the album name stored? Or will I get ten (shorter) references to one long string?

(Yes, I know I ought to RTFS, but I'm lazy, and you or someone may know the answer)
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#97553 - 07/06/2002 03:43 Re: Hijack v274 will include LBA48 support (up to 2TB) [Re: thinfourth2]
F0X
member

Registered: 31/03/2002
Posts: 100
Loc: Alberta, Canada
I think this is in another thread that I read recently, but basically you need a special IDE cable that goes from 44 pin to 40 pin and also, you would have to have a seperate power supply for the 3.5 HD as they require a bit more power than laptop HDs.
_________________________
F0X 3xMkIIa

Top
#97554 - 07/06/2002 04:22 Re: Hijack v274 will include LBA48 support (up to 2TB) [Re: mlord]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
<applause>

EXCELLENT, SIR!!!

You can never have too much hard drive space...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#97555 - 07/06/2002 04:35 Re: Database size, was: Mark 1 upgrade [Re: tms13]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Peter, are strings shared in the database?

No

In other words, if I have ten tracks from an album with a really long name, will I get ten instances of the album name stored?

Yes

Or will I get ten (shorter) references to one long string?

No

(Yes, I know I ought to RTFS, but I'm lazy, and you or someone may know the answer)

Part of the problem is that RTF (Emptool) S lets you find out the database format used on the player -- i.e., we can't change it (make it more efficient) without breaking Emptool, Emplode, and JEmpeg. It's been sort-of on the todo list for a while to separate the player's database (that it uses while running) from the one visible to Emptool/Emplode/JEmpeg. This would also allow other information (e.g. original pathname) to go in the externally visible database without it clogging up the one used by the player. But that's way post-2.0.

Peter

Top
#97556 - 07/06/2002 07:21 Re: Hijack v274 will include LBA48 support (up to 2TB) [Re: thinfourth2]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
You need something like this, which gets inserted between the drive and the host.

It works for either direction: BIG drive to SMALL host, or SMALL drive to BIG host. In either case, the drive requires external power, which for a small drive can be supplied over the power plug shown in the photo (for a BIG drive, just plug power directly into the drive).

Other similar solutions also exist.

Cheers

Top
#97557 - 07/06/2002 07:24 Re: Mark 1 upgrade [Re: altman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
So of course the obvious Paulish thing to do with a Mk1 would be to install a pair of 60GB drives, and record all music at very high bitrates, keeping the database small.

But of course, the lowly Mk1 would then not be able to do much pre-buffering, since high bitrates produce large files..

Top
#97558 - 07/06/2002 07:45 Re: Mark 1 upgrade [Re: Shonky]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Mostly out of thin air, really. The biggest Mk1 that ever shipped was 20G, so I just doubled it. As various people have said, high bitrates mean a smaller database.

You can check the size of the database, it's in /empeg/var - add the tags, playlists and database sizes together.

Hugo

Top
#97559 - 07/06/2002 08:05 Re: Mark 1 upgrade [Re: mlord]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Actually, my bitrates are relatively tame. They are VBRs, ripped with Sonic Foundry's Siren (no longer available, pity...), with VBR settings configured for best quality sound. I just happen to have a bit bigger collection loaded (highest FID = 17,182 decimal, 431E hex, combined database file sizes are just over 2MB). I think the Mark 1 could do it, just that I have never had one to try it with...


Edited by pgrzelak (07/06/2002 08:08)
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#97560 - 07/06/2002 14:04 Re: Mark 1 upgrade [Re: altman]
smu
old hand

Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
Ok, in this case, let me put the question in another way:
How large can the databases get on each of the architectures, without the player software crashing with an out-of memory-error?
Or yet another way: How much memory is available for database+cache on each of the platforms?

cu,
sven
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord

Top
Page 1 of 2 1 2 >